Gagandeep Singh

Results 3 comments of Gagandeep Singh

@tukusejssirs [weekOfYear](https://day.js.org/docs/en/plugin/week-of-year) plugin solves this issue. Try importing this plugin before using any week based formatting from `advancedFormat` plugin ```javascript import weekOfYear from "dayjs/plugin/weekOfYear"; import advancedFormat from "dayjs/plugin/advancedFormat" dayjs.extend(weekOfYear) dayjs.extend(advancedFormat)...

@tukusejssirs To get iso week number you need to use `WW` instead of `ww`. It's in the table of accepted formats for [advancedFormat](https://day.js.org/docs/en/plugin/advanced-format) plugin. ```javascript const dayjs = require('dayjs') const...

![image](https://user-images.githubusercontent.com/35252411/100103247-a693ca00-2e8a-11eb-8f87-27ac7084bdd5.png)