View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0014589 | mantisbt | attachments | public | 2012-08-13 04:44 | 2012-08-13 10:35 |
Reporter | benvbull | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | confirmed | Resolution | open | ||
Product Version | 1.2.11 | ||||
Summary | 0014589: Language problem with dates | ||||
Description | When a user sets an other language than English in its prefereces the dates of the attachments in tickets is not translated. For exemple when language is set on 'French' you can find this type of date : 2012-Jul-06 16:14. | ||||
Tags | No tags attached. | ||||
This is due to the fact that MantisBT internally uses the PHP date() function [1], which does not support locales. As a consequence, all text-based elements (e.g. months, weekdays) are displayed in English (or, I suppose, whatever language PHP was compiled in). As a workaround, I suggest you revert your date formats in config_inc.php to their default values. For example, $g_normal_date_format = 'Y-m-d H:i'; note the lowercase 'm', so month is displayed as a number. |
|