Google Charts Component - 'Timeline' Time Zone Issue

Certified Lead Developer

Hi,

I'm using the Google Charts Component a!googleTimelineChartField, and am wondering if there is a configuration I'm missing or a better solution to a timezone issue I've come across.

I'm passing in queried data that is in the user's time zone (e.g., GMT+1:00), but the Timeline component seems to always convert it to UTC (tested with other time zones and they all seem to convert the shown chart data to UTC). The easiest solution is to apply local() on the data to essentially 'double apply' the time zone, so that when the timeline tries to convert it to UTC, it actually shows up in the user's time zone as required (e.g., a user's offset of -3:00 is double applied as -6:00 so that when the chart converts to UTC, adding 3 hours, it's shown to the user still as -3:00).

With local() applied, it matches the data in the grid which does show the data in the user's time zone as usual:

I'm wondering if I've missed some obvious configuration to set the expected time zone, or if there is a cleaner solution than double applying the UTC offset.

Thanks

  Discussion posts and replies are publicly visible