sayed
Posts: 13
Joined: Tue Oct 13, 2020 8:07 am

Missing 1 hour during DST transition

Hello,

I have created a Gantt chart and disabled useUTC in xAxis.
I noticed that the 1:00AM hour is not showing in the xAxis, so is there anyway to show that hour?
gantt-local-time.PNG
gantt-local-time.PNG (6.77 KiB) Viewed 1738 times
live demo:https://jsfiddle.net/Sayed110/o2s0y64f/17/

Many thanks
artakserkses
Posts: 51
Joined: Tue Feb 23, 2021 11:23 am

Re: Missing 1 hour during DST transition

Isn't it date change due to winter/summer time?
Try to use proper timezone imho

Code: Select all

import * as mTZ from 'moment-timezone';

(window as any).moment = mTZ;

and in Highchart.Options ex.

Code: Select all

    time: {
      timezone: 'Europe/Warsaw'
    },
    
User avatar
sebastian.h
Posts: 1734
Joined: Fri Aug 07, 2020 7:08 am

Re: Missing 1 hour during DST transition

Hi,
Thanks for contacting us with your question!

I think that's a good lead, about this you can read in our documentation:
https://api.highcharts.com/gantt/time.timezone

Best regards.
Sebastian Hajdus
Highcharts Developer
sayed
Posts: 13
Joined: Tue Oct 13, 2020 8:07 am

Re: Missing 1 hour during DST transition

sebastian.h wrote: Wed Mar 03, 2021 2:32 pm Hi,
Thanks for contacting us with your question!

I think that's a good lead, about this you can read in our documentation:
https://api.highcharts.com/gantt/time.timezone

Best regards.
Thanks
User avatar
sebastian.h
Posts: 1734
Joined: Fri Aug 07, 2020 7:08 am

Re: Missing 1 hour during DST transition

You're welcome.
​If you have further inquiries, you may reach out to me at any time.
Sebastian Hajdus
Highcharts Developer

Return to “Highcharts Gantt”