View Issue Details

IDProjectCategoryView StatusLast Update
0004324mantisbtfeaturepublic2012-03-05 13:01
Reportergildas Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
Status newResolutionopen 
Product Version0.19.0a2 
Summary0004324: Month name localization in date filter
Description

I suggest you using strftime('%B', $stamp) in place of date('F', $stamp).

Like this we may add a call to setlocale(LC_ALL, $lang) in our config_inc.php file and then have valid month name...

Additional Information

In filter_api.php (Ln. 1148 & 1166)

PRINT strftime( '%B', $t_time );

In date_api.php (Ln. 22)

$month_name = strftime( '%B', mktime(0,0,0,$i,1,2000) );

TagsNo tags attached.

Relationships

related to 0014005 new Date are not localized 

Activities

gildas

gildas

2004-08-13 05:14

reporter   ~0006974

I think that the best place to call setlocale() is function lang_get_default() (lang_api.php Ln. 81) : setlocale(LC_ALL, $t_lang);