[Bug]: Date format incorrect when Language set to English (United Kingdom)
Is there an existing issue for this?
- [X] I have searched the existing issues
What happened?
On the following views, the date format for English (United Kingdom) is incorrect:
Manage->Users The "Joined" date format on the users list is incorrect, it's showing as mm/dd/yyyy
Manage->Roles->Users in Role The "Start" and "Expires" date format is incorrect, it's showing as mm/dd/yyyy
Steps to reproduce?
- Go to Settings->Site Settings->Languages
- Add "English (United Kingdom)" and set it to be the Site Default
- Set "Enable Language" = off for "English (United States)"
- Save Settings
- View Manage->Users list and observe the date format
Current Behavior
Language Settings example:
Expected Behavior
The date format should be dd/mm/yyyy
Relevant log output
n/a
Anything else?
No response
Affected Versions
9.13.3 (latest release)
What browsers are you seeing the problem on?
Firefox, Chrome, Safari, Microsoft Edge
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
This is happening for me as well. All of DNN's dates are showing in US date format, rather than UK which is the Language set on the portal.
It has happened on both an upgraded site and a clean install of 9.13.3
@mavjt did this work correctly in a prior version? If so, do you know what the last version was that you saw it working properly?
Looking for UK dates in the User.. Joined column: v9.6.2 shows correctly Upgraded to v9.9.1 and it was showing incorrectly ie US format. I then took a clean v962 which showed UK dates, upgraded it to v972 and it still showed correctly. Then v980 and it showed INCORRECTLY. It is not just a problem for admin pages either, I use an Events plugin that uses DNN date format to display dates so is showing dates in the US format when our users are expecting UK.
These seem to be the only mention of culture/localization in the 980 release: https://github.com/dnnsoftware/Dnn.Platform/pull/4265 https://github.com/dnnsoftware/Dnn.Platform/pull/4164
Noted same issue. Was signed in as SuperUser account with "Preferred Locale" set to "English (United Kingdom)".
Is there an update on this as it would be good to get this fixed as it can be confusing for admin users?
Is there an update on this as it would be good to get this fixed as it can be confusing for admin users?
Nobody submitted a fix yet