dayjs-website
dayjs-website copied to clipboard
Incorrect description of diff() argument 'day'
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.
fixed by the author