I am using Chart.js v4.4.2 with the date-fns adapter v3.0.0.
I’ve managed to customize the format of the time scale to a 24-hour clock by putting the following customization on the scales.x
object:
time: {
unit: "hour",
displayFormats: {
hour: "HH:mm",
},
},
However, the times are shown in my local timezone. How can I get it to show UTC?
There’s no mention of timezone in the Axes configuration