Open ericc-dream opened 5 months ago
Yeah still need to finish the LAN before releasing, thanks for the reminder.
The "long" and "short" date formats are defined in the e107 preferences. Go to Admin Area > Preferences > Date Display Options
and you'll see.
"Relative" means that it shows how long ago it was relative to "now". So it could "5 minutes ago" or "3 weeks ago".
Bug Description
Nothing important but the values in the droplist to choose the date format are hardcoded making impossible to translate them. I see that you have added some "// TODO LAN" in the code, So I assume that you are aware May be also, in the help, you may explain what you mean by "long", "short" and "relative" ! I have an idea for the 2 first, but "relative" puzzle me :-)
How to Reproduce
Admin -> Cookbook -> Preferences -> Date format ; droplist You have to select another language than English, obviously
Expected Behavior
the choice translated in other languages
PHP Version
PHP Version 8.2.19
Client Information
Firefox 126.0.2 on Linux Kubuntu 23.10