Andrey Bykiev
Andrey Bykiev
Hi, the moment.js behaviour is the same, it seems to be a lack of docs in dayjs library: [Moment.js docs:](https://momentjs.com/docs/#/manipulating/add/) `As of 2.12.0 when decimal values are passed for days...
I think we should wait @iamkun to discuss this behaviour, what do you think about it? I can create PR for this if we come to common decision about dayjs...
> But as this would be a breaking change (if not of the documentation that says nothing about it, so at least regarding the functionality), perhaps this should become an...
> Thanks for your elaborations. I agree that the docs need to at least warn the user about this behavior. I can also understand why you want to behave dayjs...
Hi, according to the [docs](https://day.js.org/docs/en/parse/string-format) `ww` is not a valid parsing token, that's why it's not working.
hey guys, thank you for your work, is any estimates when v2 will be finished and ready for use in production?
@BePo65, as `dayjs` is replacement for `moment` `D` should be day of month and `d` is day of week https://momentjs.com/docs/#/displaying/format/ Units for `add/subtract` methods seems to be have different meaning...
Hi, this is a correct result, moment.js has the same result. Here is a small [demo](https://codesandbox.io/s/dayjs-playground-forked-g98fyo?file=/src/index.js)
GMT is an UTC time, London has an UTC offset +0100
If you'll use `date()` function it'll return date of month in a local time. Here is a [demo](https://codesandbox.io/s/dayjs-playground-forked-f3hwwq?file=/src/index.js)