madlyr
ganesh
pixtur
if(__('__FORMAT_TIMESTAMP__|check translation guide') != '__FORMAT_TIMESTAMP__') { confSet('FORMAT_TIMESTAMP', __('__FORMAT_TIMESTAMP__')); }
setlocale
setlocale()
%d
cvivanco
from render/render_misc.inc.php, lines 585-587
// fix %e formatter if not supported (e.g. on Windows) if(strftime("%e", mktime(12, 0, 0, 1, 1)) != '1') $userFormatDate = str_replace("%e", "%d", $userFormatDate);
// fix %e formatter if not supported (e.g. on Windows) if(strftime("%e", mktime(12, 0, 0, 1, 1)) != '1') $userFormatDate = str_replace("%e", "%#d", $userFormatDate);
language.codepage
codepage
The set of available languages, country/region codes, and code pages includes all those supported by the Win32 NLS API except code pages that require more than two bytes per character, such as UTF-7 and UTF-8. If you provide a code page like UTF-7 or UTF-8, setlocale will fail, returning NULL.
FORCE_LOCALE
confChange('FORCE_LOCALE','C')
from pl.inc.php
### ../render/render_misc.inc.php ### '%b %e, %Y|strftime format string'=>'%Y-%m-%d', # line 579 '%I:%M%P|strftime format string'=>'%H:%M', # line 592 '%a %b %e, %Y %I:%M%P|strftime format string'=>'%Y-%m-%d %H:%M', # line 601 '%s min' =>'%s min', # line 696 '%A, %B %e|strftime format string'=>'%Y-%m-%d', # line 921
I agree. Customization for date/time display SHOULD be in configuration.inc.php.
getUserFormatDate()
__('%b %e, %Y', 'strftime format string')
customize.inc.php
Comment
Details (Wiki format)
Please copy the text