Ticket #359 (closed バグ指摘: 修正済)
新着情報の日付が文字化け
Reported by: | ramrun | Owned by: | somebody |
---|---|---|---|
Priority: | 低 | Milestone: | EC-CUBE2.3.0 |
Component: | フロント | Version: | 2.3.0RC-1 |
Keywords: | Cc: | ||
修正済み: |
Description
Windows環境において新着情報の日付が
2008年09月%d日
と表示される。
これはWin32のlibcによるものらしい。
Smarty マニュアル:date_formatより
date_formatは本質的にphpのstrftime()関数のラッパーです
[PHP-users 17812]Re: strftimeのバグ報告
http://ml.php.gr.jp/pipermail/php-users/2003-September/018341.html
過去のフォーラム
http://xoops.ec-cube.net/modules/newbb/viewtopic.php?viewmode=flat&topic_id=1756&forum=10
http://xoops.ec-cube.net/modules/newbb/viewtopic.php?viewmode=flat&topic_id=2090&forum=2
http://xoops.ec-cube.net/modules/newbb/viewtopic.php?viewmode=flat&topic_id=2425&forum=10
http://xoops.ec-cube.net/modules/newbb/viewtopic.php?viewmode=flat&topic_id=2690&forum=8
初心者がテンプレートをいじることを考慮すると、数値参照に置き換えるものはわかりづらく、半角スペースで区切るものは根本的な解決にはなっていないと思われる。
(そのことを理解している人がいじる分にはよいが...)
r17619で対応。
年、月、日を一旦分割して、HTML上で並べることにした。