iamkun
iamkun
https://day.js.org/docs/en/parse/string-format This dependent on CustomParseFormat plugin to work
You should use ``` dayjs('10:12', 'HH:mm').isBefore( dayjs('10:13', 'HH:mm') ) ```
@zhangqh22 please refer to @Bykiev 's explanation
Any demo code, please?
I currently have some problem with `2. update TS definition`. In the current Day.js, while we import some plugin like isLeapYear, it will update the TS definition to add a...
@TheThing said to hear this, however, seems in 1.10.x there's no typescript change as far as I cloud tell.
> > @TheThing said to hear this, however, seems in 1.10.x there's no typescript change as far as I cloud tell. > > According to 1.10.0 logs this was changed:...
This change in 1.10.1 add ES6 Module Support, package.json module point to "esm/index.js" (#1298) (f63375d) really has an unexpected breaking change, and that's of course not what we want. I...
Just released v1.10.2 to revert the esm `module` entry. Let leave this breaking change to v2.0.0
@hakimio yes, that's why I listed the second thing to do is to > Publish a new NPM package, maybe "dayjs-esm" to ship an ESM module with package.json module entry...