Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PlugIn > translate Publication date
#23
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.
Reply


Messages In This Thread
PlugIn > translate Publication date - by cumbe - 2010-05-02, 08:37:34
RE: PlugIn > translate Publication date - by Carlos - 2013-01-21, 05:42:18
PlugIn > translate Publication date - by luc - 2011-06-15, 21:06:08
PlugIn > translate Publication date - by mvlcek - 2011-06-15, 21:50:12
PlugIn > translate Publication date - by ccagle8 - 2011-06-15, 22:07:32
PlugIn > translate Publication date - by cumbe - 2011-06-16, 03:36:40
PlugIn > translate Publication date - by yojoe - 2011-06-16, 04:04:57
PlugIn > translate Publication date - by mvlcek - 2011-06-16, 04:06:46
PlugIn > translate Publication date - by cumbe - 2011-06-16, 04:32:51
PlugIn > translate Publication date - by yojoe - 2011-06-16, 04:36:36
PlugIn > translate Publication date - by cumbe - 2011-06-16, 04:43:44
PlugIn > translate Publication date - by cumbe - 2011-06-16, 05:05:31
PlugIn > translate Publication date - by mvlcek - 2011-06-16, 05:05:52



Users browsing this thread: 1 Guest(s)