Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Date format incorrect when Language set to English (United Kingdom) #6029

Open
2 tasks done
puresystems opened this issue May 8, 2024 · 5 comments
Open
2 tasks done

Comments

@puresystems
Copy link

puresystems commented May 8, 2024

Is there an existing issue for this?

  • 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?

  1. Go to Settings->Site Settings->Languages
  2. Add "English (United Kingdom)" and set it to be the Site Default
  3. Set "Enable Language" = off for "English (United States)"
  4. Save Settings
  5. View Manage->Users list and observe the date format

Current Behavior

Language Settings example:
Languages

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

  • I agree to follow this project's Code of Conduct
@mavjt
Copy link

mavjt commented Jun 10, 2024

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

@mitchelsellers
Copy link
Contributor

@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?

@mavjt
Copy link

mavjt commented Jun 10, 2024

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.

@mavjt
Copy link

mavjt commented Jun 10, 2024

These seem to be the only mention of culture/localization in the 980 release:
#4265
#4164

@jasclar
Copy link

jasclar commented Jun 10, 2024

Noted same issue. Was signed in as SuperUser account with "Preferred Locale" set to "English (United Kingdom)".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants