View Issue Details

IDProjectCategoryView StatusLast Update
0000569WackoWikilocalizationpublic2024-12-14 10:41
Reporterbrianko Assigned To 
PrioritylowSeverityfeatureReproducibilityN/A
Status newResolutionopen 
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
TagsNo tags attached.

Relationships

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

Activities

administrator

2024-12-11 08:47

administrator   ~0001113

Last edited: 2024-12-14 10:41

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

I think we should first set the localized format in the installer with the default language.
https://github.com/WackoWiki/wackowiki/blob/master/src/setup/lang/installer.en.php#L37

Then possibly 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.

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 run() function it will replace then the secondary config value with the one from the user settings. That's all.

Not to forget the input validation before storing the format into the table.

There is a time and date format.

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