iamkun / iamkun/dayjs

Import all locales

Open
#1,668 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
48.7k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

Is it possible to import all locales?
instead of doing them all manually like this

```
import 'dayjs/locale/en';
import 'dayjs/locale/de';
....
```

import all of them?

Contributor guide

Open the contributing guide

Research direction

Start by tracing how the locale modules under dayjs/locale, such as en and de, are imported and packaged. The issue names no source file or test, so first identify the relevant entry point and existing locale-loading tests. Done means users have a documented way to import all locales without listing each one manually.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
internationalization
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.