Bug 47098 - "account expiration date" tooltip uses wrong date format
"account expiration date" tooltip uses wrong date format
Status: NEW
Product: UCS
Classification: Unclassified
Component: UMC - Users
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-05-29 09:13 CEST by Moritz Bunkus
Modified: 2021-05-03 21:43 CEST (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments
Screenshot of English tooltip showing wrong date format (11.37 KB, image/png)
2018-05-29 09:13 CEST, Moritz Bunkus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Moritz Bunkus 2018-05-29 09:13:05 CEST
Created attachment 9543 [details]
Screenshot of English tooltip showing wrong date format

The tooltip for the "account expiration date" states that dates must be entered in the format "day.month.year". However, the UMC seems to parse and format the dates depending on the language the UMC is currently using:

* For "Deutsch", the German-style date format "dd.mm.yyyy" is used.
* For "English", US-style date format "mm/dd/yyyy" is used.
* For "English (United Kingdom)", UK-style date format "dd.mm.yyyy" is used.

So if the current UI language "English", and the user follows the tooltip and enters e.g. "31.08.2018", the UI will use US-style date format and interpret this as month = 31, day = 08, year = 2018, leading to an error.

The date format in the tooltip should reflect the date format used by the UI.

See https://help.univention.com/t/account-expiration-date-format-bug-ucs-4-3-erata-89/8870
Comment 1 Michael Grandjean univentionstaff 2018-05-29 14:52:01 CEST
Just my 2 cents: Let's use ISO 8601 date format everywhere and for all languages and tooltips.