Victor Alvarenga
Victor Alvarenga
The bug is real and it happens for `.add(1, 'year')` too ```js const initial = dayjs.tz('2024-02-15').format('YYYY-MM-DD') // 2024-02-15 const expected= dayjs('2024-02-15').add(1, 'year').format('YYYY-MM-DD') // 2025-02-15 const result = dayjs.tz('2024-02-15').add(1, 'year').format('YYYY-MM-DD') //...
Proposed docs update on #78
``` // YARN yarn add dayjs // NPM npm i dayjs ``` After that you just import and extend ```ts import dayjs from 'dayjs'; import utc from 'dayjs/plugin/utc'; import timezone...