Wrong year assigned to a ticklabel in plotly.js

The following image contains a part of a scatter plot generated with plotly.js:

The red arrow shows the wrong value in ticklabel. It should be 53 2020.

If a zoom is made, then the right ticklabels are obtained:

This problem appears just when the ticklabel is generated when date is December 31st of any year.

One attention calling point is that the value of showed data in the first image when the mouse is over the point (following the green arrow), is the right one: 53, 2020!

The code for this issue can be found at: codepen

After a little research, a possible cause of issue could be related to:

  • Plotly uses Date.getUTCFullyear to calculate ticklabels,
  • For a date given on December 31st, the result may be different according to getUTCFullYear in MDN.

??

Or, is there any other cause producing this issue?

Please, can anyone help to solve it? Thanks.