2012-10-09, 23:28:14
If you use News Manager in a Windows environment (WAMP, XAMPP...) your post dates will not be displayed properly by default.
It seems it's because of NM's default date format:
As we can read here http://www.php.net/manual/en/function.strftime.php the %e parameter is not supported by Windows' implementation of the strftime function.
To fix this, edit your language file (news_manager/lang/en_US.php or other) and change that line (it's near the end of the file) to something like e.g.:
or something different like:
(See all % parameters you can use in the php.net link above.)
It seems it's because of NM's default date format:
Code:
"DATE_FORMAT" => "%b %e, %Y"
To fix this, edit your language file (news_manager/lang/en_US.php or other) and change that line (it's near the end of the file) to something like e.g.:
Code:
"DATE_FORMAT" => "%b %#d, %Y"
Code:
"DATE_FORMAT" => "%Y.%m.%d - %H:%M"