Forums / General / ezlocale
Carlos Revillo
Friday 23 June 2006 4:35:05 am
hi. i have a question about time formats. in my fre-FR.ini file under share/locale folder i can see something like
[DateTime] TimeFormat=%g:%i:%s %a ShortTimeFormat=%g:%i %a DateFormat=%l, %d %F %Y ShortDateFormat=%d/%m/%Y DateTimeFormat=%l %d %F %Y %g:%i:%s %a ShortDateTimeFormat=%d/%m/%Y %g:%i %a
It is possible to add here a new custom format? something like
MyCustomFormat=%m %d
How can i use this new format through l10n function then?thanks
Friday 23 June 2006 5:17:29 am
I've added some code lines to ezlocale.php file and got what i needed, but i don't like to "hack" ez source code. if anyone knows any other form to do this, please let me know.