dayjs / dayjs-website

⏰Day.js website repo
http://day.js.org/
MIT License
65 stars 228 forks source link

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

Open akira345 opened 1 year ago

akira345 commented 1 year ago

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 commented 1 year ago

fixed by the author