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

subDays into sub_days #32

Closed
seohyun0120 opened this issue Sep 18, 2018 · 2 comments
Closed

subDays into sub_days #32

seohyun0120 opened this issue Sep 18, 2018 · 2 comments

Comments

@seohyun0120
Copy link

hello I tried to use date_fns but there are some problems
I tried to import subDays from 'date-fns/subDays' but it doesn't work.
So I found out something thorough the document.

https://date-fns.org/v1.28.5/docs/subDays
According to this document, date-fns/subDays should be changed to date-fns/sub_days
Am I correct?

@stevemao
Copy link
Member

In the readme:

⚠️ Note that the provided examples of date-fns are for v2 which is in pre-release right now. See v1 docs for the current release.

Also see #7 for discussion

@seohyun0120
Copy link
Author

thank you

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

2 participants