'remove 53 from work week time format in d3 (%V)

I am using plotly with python and I need the work week format to be from 00 to 52.

But the %V format from d3 is [01, 53], in fact, 00 is represented by 53.

tickers where 53 becomes 00 and appears before smaller numbers

The time format in this image is %V'%y

I have tried using lower case %v, but it doesn't work.

This creates a weird sorting error of where 53'10 is before 05'10. 53'10 should be 00'10

How to use 00 instead of 53?

Is there a customized way of formatting the tickers from 00 to 52?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source