The v2 branch is here #2066
If you have issues with v2, please comment on this issue. Please do not comment on irrelevant content.
Changelog
Outdated
The information is outdated, we're planning them released when v3.0.
Changelog
2.0.0-alpha.0
⚠️ At this very early stage, some plugins and locales have not been implemented. (PR welcomed)
⚠️ v2 has been rewritten. The compatibility of any private API is not guaranteed.
Breaking Change
dayjs.locale(preset, object, isLocal) => dayjs.locale(preset, isLocal, object)
- drop support of node < 14.19.0
- importing plugins or locale (maybe will be changed in the future)
import 'dayjs/plugin/isToday' > import 'dayjs/dist/plugin/isToday'
Feature
- supports ESM
- rewrite using TypeScript
The v2 branch is here #2066
If you have issues with v2, please comment on this issue. Please do not comment on irrelevant content.
Changelog
Outdated
The information is outdated, we're planning them released when v3.0.
Changelog
2.0.0-alpha.0Breaking Change
dayjs.locale(preset, object, isLocal)=>dayjs.locale(preset, isLocal, object)>import 'dayjs/plugin/isToday'import 'dayjs/dist/plugin/isToday'Feature