Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

migrate from moment? #1397

Open
aladdin-add opened this issue Mar 2, 2021 · 5 comments
Open

migrate from moment? #1397

aladdin-add opened this issue Mar 2, 2021 · 5 comments

Comments

@aladdin-add
Copy link

  • it can be documented?
  • better to provide a migration helper
@aladdin-add
Copy link
Author

friendly ping! @iamkun

@iamkun
Copy link
Owner

iamkun commented Mar 11, 2021

what kind of 'migration helper' do you looking for?

@aladdin-add
Copy link
Author

something like jest-codemod: https://jestjs.io/docs/migration-guide#jest-codemods

it can auto replace moment(...) to dayjs(...), and output warnings if there are some compatible issues( e.g. dayjs may do not support some moment's api)

@iamkun
Copy link
Owner

iamkun commented Mar 11, 2021

looks interesting. PR is welcomed.

@Nisthar
Copy link

Nisthar commented Oct 26, 2021

looks interesting. PR is welcomed.

I want to migrate to dayjs. but i don't know if dayjs works the same way as momentjs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants