Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
strtotime instead of strftime function
#1
hello
After investigating JP's problem described in this thread http://get-simple.info/forum/topic/1074/...t-correct/
I wonder why GS utilizes strtotime, instead of strftime function + eventually iconv function (for UTF-8 encoding), as it is capable to show date only in US English format.

There's no problem if somebody wants to show date using digits, but localized textual representation of days, and months will be shown only in english.

I know that my solution isn't perfect, and strftime should use a declared variable (maybe even being able to be set in admin panel). But I'm almost falling asleep on my keyboard, and just wanted to let you know about that.
My solution is working, although not all steps mentioned are needed to succeed .
Addons: blue business theme, Online Visitors, Notepad
Reply


Messages In This Thread
strtotime instead of strftime function - by yojoe - 2010-10-06, 13:04:41
strtotime instead of strftime function - by yojoe - 2010-11-02, 15:34:06
strtotime instead of strftime function - by yojoe - 2010-11-03, 11:50:26



Users browsing this thread: 1 Guest(s)