iamkun / iamkun/dayjs

English localized format is wrong (MM/DD/YYYY)

Open
#1,455 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
48.7k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
First of all I would like to say thank you for your great package.

According to [wikipedia](https://en.wikipedia.org/wiki/Date_and_time_notation_in_the_United_Kingdom) date notation in United Kingdom is day–month–year format not month-day-year. What i'm discussing here is not a bug(cause apart from that is working great); it's more like a question.
https://day.js.org/docs/en/display/format#list-of-localized-formats

1. Is there any plan to update to the correct format?
2. If there's no plan on updating, is there a proposed way of changing the formating?

**Expected behavior**
English localised date format L should be DD/MM/YYYY and not MM/DD/YYYY.

**Information**
- Day.js Version [v1.10.4]

Contributor guide

Open the contributing guide

Research direction

Start with the Day.js localized-format documentation linked in the issue and inspect how the English locale defines format L. Confirm the expected English localized output is DD/MM/YYYY rather than MM/DD/YYYY, and verify the formatting behavior against the reported Day.js v1.10.4 behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
localization
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.