View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000791 | XMB1 | Bugs | public | 2025-04-19 20:31 | 2025-07-13 06:55 |
Reporter | miqrogroove | Assigned To | miqrogroove | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Product Version | 1.9.8 SP2 | ||||
Target Version | 1.10.00 | Fixed in Version | 1.10.00 | ||
Summary | 0000791: Date Translation is Mostly Broken | ||||
Description | I'm just starting to understand that there was a date translation function added in 1.9.8 SP2. Unfortunately, it was only ever implemented on the user profiles. All other dates are translated according to the default locale in PHP. The 'M' code is incorrectly implemented and gives mangled output unless it's the first char of the date format. It should be possible to expand the old implementation while starting to address issues with timezone handling and such. The IntlDateFormatter objects in PHP don't use the same format strings as DateTimeInterface and gmdate, so some of the custom code might need to be retained. | ||||
Tags | No tags attached. | ||||
MySQL Version | |||||
PHP Version | |||||
Web Server | |||||
Browser | |||||
Flags | |||||
Original Reporter | |||||
SVN Revision | |||||
Git Commit | https://github.com/miqrogroove/xmb/commit/0657e46b17643091f3cbeda165b0f4d44549a7ad | ||||
related to | 0000814 | new | Consider Switching to IntlDateFormatter |
|
Remaining work: Date displays need to call a common method to enable translation and allow future changes. The 'M' code translations were always English-specific, never added to the language file, and there's no help from gmdate(). Options are to add short months to the language file (and realize this doesn't even cover days of the week), abandon translations efforts other than the 'F' code, or plan an overhaul and switch to the IntlDateFormatter. |
Date Modified | Username | Field | Change |
---|---|---|---|
2025-04-19 20:31 | miqrogroove | New Issue | |
2025-04-19 20:32 | miqrogroove | Description Updated | |
2025-04-19 20:51 | miqrogroove | Description Updated | |
2025-07-12 15:29 | miqrogroove | Assigned To | => miqrogroove |
2025-07-12 15:29 | miqrogroove | Status | new => assigned |
2025-07-12 21:00 | miqrogroove | Note Added: 0000575 | |
2025-07-13 06:53 | miqrogroove | Status | assigned => resolved |
2025-07-13 06:53 | miqrogroove | Resolution | open => fixed |
2025-07-13 06:53 | miqrogroove | Fixed in Version | => 1.10.00 |
2025-07-13 06:53 | miqrogroove | Git Commit | => https://github.com/miqrogroove/xmb/commit/0657e46b17643091f3cbeda165b0f4d44549a7ad |
2025-07-13 06:55 | miqrogroove | Relationship added | related to 0000814 |