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

European date format #157

Closed
drmrbrewer opened this issue Sep 21, 2024 · 8 comments
Closed

European date format #157

drmrbrewer opened this issue Sep 21, 2024 · 8 comments

Comments

@drmrbrewer
Copy link
Contributor

drmrbrewer commented Sep 21, 2024

Currently the date is displayed in US date format mmddyy:

image

Would be great if there was an option to display it in European date format ddmmyy.

@thgh
Copy link
Contributor

thgh commented Sep 23, 2024

It seems to be using the browser locale
Screenshot 2024-09-23 at 11 16 18

@drmrbrewer
Copy link
Contributor Author

drmrbrewer commented Sep 23, 2024

@thgh on my languages setup page in Chrome I see:

image

IIRC, I have never changed these settings, so they are what they have always been. And based on these settings, it should be showing non-US date format? I can't see any other locale setting to change. I tried overriding the location in DevTools (see here) to Berlin and London, but regardless of location it's still showing US date format in CapRover.

@githubsaturn
Copy link
Collaborator

@thgh you're not on the latest version. This is a regression introduced as I was trying to make the column shorter.

@drmrbrewer
Copy link
Contributor Author

@githubsaturn I just updated to the latest CapRover and it seems that there is no change to the date format... these are today's date (6 Nov 2024):

image

Same for Last Deployed dates on App page:

image

My browser languages settings are unchanged (see above).

@githubsaturn
Copy link
Collaborator

See here: caprover/caprover#2185

@drmrbrewer
Copy link
Contributor Author

OK. Not sure where moment is getting the idea that the date should be in US format, because both browser and system all seem to be set to European/UK date format... I don't see the US format anywhere apart from in CapRover:

system:

image

browser:

image

CapRover:

image

Anyway, hopefully the new fix will do it!

@githubsaturn
Copy link
Collaborator

Yea that's weird. Anyways the new fix used built-in Date so it should work 🤞

@drmrbrewer
Copy link
Contributor Author

Yep, I confirm that it's fixed in 1.13.2, thanks!

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

No branches or pull requests

3 participants