de-de not supported
Open
- Dominant language
- JavaScript
- Stars
- 48.7k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
dayjs does not ship with the locale de-de
**Expected behavior**
When reading the locale from navigator.language, the German locale in Germany (not Switzerland nor Austria) is set to `de-de`. When passed to dayjs, there is an error as `dayjs/locale/de-de.js` is not there
**Information**
- Day.js Version latest
- Browser chrome latest
Contributor guide
Research direction
Start by inspecting the locale files and the missing dayjs/locale/de-de.js entry, then reproduce the issue with navigator.language set to de-de. Done means Day.js accepts de-de without an error and uses the German locale for Germany rather than the Switzerland or Austria variants.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- internationalization
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100