Dayjs: Hot to set up the beginning date of the week?

Created on 25 Sep 2018  路  4Comments  路  Source: iamkun/dayjs

Western countries generally believe that Sunday is the beginning of a week, while China believes that Monday is the beginning of a week. So there may be such a demand in China: DatePicker should be chosen from Monday to Sunday, and the components are Sunday to Monday. So I hope the official can provide a api that supports changing the order of weeks.

released

Most helpful comment

The whole of Europe and many other countries use Monday as the start of the week. Wikimedia Commons has a nice overview: https://commons.wikimedia.org/wiki/File:First_Day_of_Week_World_Map.svg

All 4 comments

Just to add more information, not all Western countries has sunday as start of the week. Nordic countries uses Monday as start of the week too.

Poland uses Monday as start of the week too.

The whole of Europe and many other countries use Monday as the start of the week. Wikimedia Commons has a nice overview: https://commons.wikimedia.org/wiki/File:First_Day_of_Week_World_Map.svg

:tada: This issue has been resolved in version 1.8.4 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

oliv9286 picture oliv9286  路  4Comments

dakshshah96 picture dakshshah96  路  5Comments

antony picture antony  路  5Comments

g1eny0ung picture g1eny0ung  路  4Comments

fes300 picture fes300  路  5Comments