Timeline component

Is there a trick to getting the Timeline component to show the Today line in the correct timezone? It's a day early for me! Also - the initial date appears to be a bit random. Most of the time I need to resize the screen to make it jump to the correct date.

image

Apart from that, it's great!
Thanks.

Hi @jebit,

Can you please provide a screenshot of how you're setting the date's value?

Hi Abbey
The initial date is set to Date(). The todays date indicator is just set with a tick box.
image

Try wrapping your dates in moment().

Hi Abbey
I've tried everything on this one - still no joy. In this image, today is the 31st but the Today indicator (blue line) is on the 30th. The initial date still starts at the first event date instead of the set initial date (set as {{moment()}}.
Note that the "Milestone" lines are also still showing despite me removing milestone from the add-ons.

Would you mind sending a JSON export?

timeline.json (10.2 KB)

Hi Abbey - here's the JSON export. I've created a new app with just the timeline component and it still gives me the same odd results.
cheers
John

@jebit Thanks for reaching out!

We’ve fixed some issues related to timezones in the Timeline component, and these fixes are included in the 3.77 version, which was released today on cloud. Could you try updating and see if that resolves the issue with the Today line being a day early?

Regarding the initial date appearing a bit random and needing to resize the screen to jump to the correct date, this is a separate issue that our team is currently investigating. We appreciate your patience as we work on a fix.

Let us know if updating helps with the timezone issue!

1 Like

Hi Nicos
Thanks for that - it is now showing the correct 'today' date! Good job.
regards John

2 Likes