Format plugin supporting Intl.DateTimeFormat
- Dominant language
- JavaScript
- Stars
- 48.7k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
More of a feature request than a bug report, but something I will be happy to contribute. It should be pretty straightforward to implement a plugin that uses [Intl.DateTimeFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat) to support all [formatting options of `format`](https://day.js.org/docs/en/display/format) by the browser supported locales. [Browser support](https://caniuse.com/?search=datetimeformat) also seems very good. No need to load any locale from dayjs. Is there already (maybe 3rd party) plugin that does this (before I do the work)?
**Information**
- Day.js Version 1.11.5
Contributor guide
Research direction
No source file or test is named. Start by reviewing Day.js's existing plugin entry points and the linked format documentation, then check the Intl.DateTimeFormat API and browser support. Done means a plugin supports the format options through browser locales without loading Day.js locales, with tests covering the resulting formatting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100