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

Incorrect description of diff() argument 'day' #101

Open
akira345 opened this issue Nov 16, 2022 · 1 comment
Open

Incorrect description of diff() argument 'day' #101

akira345 opened this issue Nov 16, 2022 · 1 comment

Comments

@akira345
Copy link

In the List of all available units on this page (https://github.com/dayjs/dayjs-website/blob/master/docs/display/difference.md) , the day description is incorrect as Day of Week (Sunday as 0, Saturday as 6). The argument day returns the number of days difference.

@BePo65
Copy link
Contributor

BePo65 commented Dec 7, 2022

fixed by the author

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