21307 Posts in 5737 Topics by 2603 members
|Go to End|
4 May 2012 at 7:07am
How to get the month names in current locale
4 May 2012 at 6:37pm
Well $Now.Month returns the month name. It will return whatever locale you have set at the PHP level (setlocale()) I don't believe SS will set this automatically for you.
4 May 2012 at 10:25pm
i use in mysite/_config.pgp lines:
setlocale(LC_TIME, i18n::get_locale() . '.utf8');
But in blog module the months are still in english.
Blog module uses in posts:
And in widget it also in english
5 May 2012 at 5:53am
got it working with code $Date.FormatDate(%d %b %Y)
But still needed the code do make ArchiveWidget to show the title in right language
|Go to Top|