Dayjs: the result of dayjs('2018-09').format('YYYYMM') is 201712 ,but the moment is 201809

Created on 16 May 2018  路  2Comments  路  Source: iamkun/dayjs

鈽笍Bug

Most helpful comment

THX. It's a bug and will fix soon.

Better use dayjs('2018-09-01') at the moment.

Plus, 2018-09 is a little confusing, it could be either 20180901 or 20180930

All 2 comments

THX. It's a bug and will fix soon.

Better use dayjs('2018-09-01') at the moment.

Plus, 2018-09 is a little confusing, it could be either 20180901 or 20180930

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

The release is available on:

Your semantic-release bot :package::rocket:

Was this page helpful?
0 / 5 - 0 ratings