2013-01-21, 05:42:18
If OS == WIN
utf8_encode(strftime(...))
else
strftime(...)
GS lang file should have a LOCALE (or DATE_LOCALE) string, as mvlcek suggested in the other thread, with several possible server date locales.
As for get_page_date, to keep backwards compatibility with themes, the function might check if the parameter given contains any % character, to use date or strftime.
utf8_encode(strftime(...))
else
strftime(...)
GS lang file should have a LOCALE (or DATE_LOCALE) string, as mvlcek suggested in the other thread, with several possible server date locales.
As for get_page_date, to keep backwards compatibility with themes, the function might check if the parameter given contains any % character, to use date or strftime.