2010-10-06, 13:04:41
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 .
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