C3 AI Documentation Home

Gantt Chart Bryntum Time Zone

Bryntum Time Zone

UiSdlGanttChart allows users to define a specific time zone so that the chart shows the data according to that time zone instead of the local time zone. This is a guide to configure the time zone in your chart.

You can use a time zone ID such as America/Los_Angeles, Europe/Paris or Asia/Tokyo. Once you define a time zone, the chart will try to convert all the available dates to that time zone. Some of the dates that can be processed are:

  • start and end time for the whole chart.
  • start and end time for events.
  • start and end time for time ranges.
  • start and end time for static calendars.
  • start and end time for resource time ranges.

There are 3 different types of dates that you can define, depending of each type, the date will be converted according to different criteria.

  1. 2024-01-01 this date will be converted first to 2024-01-01T00:00:00 and then it will be considered to local time, so, if you are in America/New_York it will be considered as 2024-01-01T00:00:00-05:00
  2. '2024-01-01T00:00:00this date will be considered as "local" to the defined time zone, this means that if you are inEurope/Parisit will only add the offset, so it will be2024-01-01T00:00:00+01:00`.
  3. 2024-01-01T00:00:00Z this is a UTC time, this time will be converted to first to the offset defined by the time zone ID. If you are in Europe/Paris you will get 2024-01-01T01:00:00+01:00.
Was this page helpful?