View Issue Details

IDProjectCategoryView StatusLast Update
0000791XMB1Bugspublic2025-07-13 06:55
Reportermiqrogroove Assigned Tomiqrogroove  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Version1.9.8 SP2 
Target Version1.10.00Fixed in Version1.10.00 
Summary0000791: Date Translation is Mostly Broken
DescriptionI'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.
TagsNo tags attached.
MySQL Version
PHP Version
Web Server
Browser
Flags
Original Reporter
SVN Revision
Git Commithttps://github.com/miqrogroove/xmb/commit/0657e46b17643091f3cbeda165b0f4d44549a7ad

Relationships

related to 0000814 new Consider Switching to IntlDateFormatter 

Activities

miqrogroove

2025-07-12 21:00

administrator   ~0000575

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.

Issue History

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