View Issue Details

IDProjectCategoryView StatusLast Update
0000569WackoWikilocalizationpublic2025-03-12 15:55
Reporterbrianko Assigned Toadministrator  
PrioritylowSeverityfeatureReproducibilityN/A
Status resolvedResolutionfixed 
Product Version6.1.x 
Target Version6.1.xFixed in Version6.1.x 
Summary0000569: Offer user an option to modify the date format throughout the wiki
DescriptionIt would be useful to provide the user with an option under "User Settings" to modify the date format.
Additional Informationhttps://en.wikipedia.org/wiki/List_of_date_formats_by_country
RFC 3339
https://datatracker.ietf.org/doc/html/rfc3339

# IntlDateFormatter Example Note
1 dd.MM.y 10.07.1996 de, et, pl, ru
2 dd/MM/y 10/07/1996 es, fr
3 dd-MM-y 10-07-1996 en_gb, hi, en_in, nl
4 y-MM-dd 1996-07-10 ISO 8601
5 y/MM/dd 1996-07-10 fa
6 y年MM月dd日 1996年07月10日 ja, zh
7 y년 MM월 dd일 1996년 07월 10일 ko
8 MM/dd/y 07/10/1996 en_us

https://wackowiki.org/doc/Dev/Release/R6.1/ModifyDateOption
TagsNo tags attached.

Relationships

related to 0000341 resolvedadministrator date and time formats dependent on user language 

Activities

administrator

2024-12-11 08:47

administrator   ~0001113

Last edited: 2025-03-12 12:27

This is an easy task, however I never needed it.
Usually setting the default format via the Admin panel is enough.

We can set it with the choosen language.
And of course let the user overwrite the default format.

Can you provide some format examples.
[ICU format, visible result]

We can let the user select a predefined format via dropdown.

$date_preferences = [
    'default',
    'mdy',
    'dmy',
    'ISO 8601',
];

1. global default
2. language default
3. format set in secondary config
4. format optionally set in user settings to overwrite default

For the user setting an additional field must be added to the user setting table.
In the function it will replace then the language default value with the preference from the user settings. That's all.

administrator

2025-02-24 12:53

administrator   ~0001114

Last edited: 2025-03-12 09:11

Prototype is working.
Basics are already implemented, see repo.

Issue History

Date Modified Username Field Change
2024-12-11 06:55 brianko New Issue
2024-12-11 08:47 administrator Note Added: 0001113
2024-12-11 08:52 administrator Note Edited: 0001113
2024-12-11 08:54 administrator Relationship added related to 0000341
2024-12-11 14:20 administrator Note Edited: 0001113
2024-12-11 14:29 administrator Note Edited: 0001113
2024-12-11 14:34 administrator Note Edited: 0001113
2024-12-14 07:41 administrator Additional Information Updated
2024-12-14 07:58 administrator Additional Information Updated
2024-12-14 07:59 administrator Additional Information Updated
2024-12-14 10:41 administrator Note Edited: 0001113
2025-02-09 08:57 administrator Status new => confirmed
2025-02-09 08:58 administrator Additional Information Updated
2025-02-09 09:02 administrator Additional Information Updated
2025-02-09 09:07 administrator Note Edited: 0001113
2025-02-24 12:53 administrator Note Added: 0001114
2025-03-12 09:09 administrator Note Edited: 0001113
2025-03-12 09:11 administrator Note Edited: 0001114
2025-03-12 09:14 administrator Assigned To => administrator
2025-03-12 09:14 administrator Status confirmed => assigned
2025-03-12 09:14 administrator Product Version => 6.1.x
2025-03-12 09:14 administrator Target Version => 6.1.x
2025-03-12 09:14 administrator Additional Information Updated
2025-03-12 12:26 administrator Additional Information Updated
2025-03-12 12:27 administrator Note Edited: 0001113
2025-03-12 15:55 administrator Status assigned => resolved
2025-03-12 15:55 administrator Resolution open => fixed
2025-03-12 15:55 administrator Fixed in Version => 6.1.x