Skip to content

fix: use unambiguous short date [HUB-149]#699

Open
tomzemp wants to merge 4 commits intomasterfrom
HUB-149/unambiguous-date
Open

fix: use unambiguous short date [HUB-149]#699
tomzemp wants to merge 4 commits intomasterfrom
HUB-149/unambiguous-date

Conversation

@tomzemp
Copy link
Member

@tomzemp tomzemp commented Nov 23, 2022

Update to default d Mon YYYY. If we support internationalization in the future, we can pass the appropriate language/locale to toLocaleDateString

Before:
image

After:
image

This will also be consistent across browsers now (previously, I was getting in 6/11/2022 in Chrome and 11/6/2022 in Firefox :ugh:)

@tomzemp tomzemp requested a review from Birkbjo November 23, 2022 10:07
@sonarqubecloud
Copy link

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants