Timeline - custom date format

I want to have the timeline event labels appear in this format:
MM/DD/YYYY - MM/DD/YYY

I didn’t see any examples like this in the demos and I didn’t see an obvious way to do this in the docs

Please advise

thanks

Hi @Matthew_Baker,

Thanks for reaching out!

You can use the renderScheduleEvent or renderScheduleEventContent options to customize the content of the rendered schedule event to your needs. You can see an example in this demo.
Also, the formatDate utility function might help you to achieve the desired format.

Let me know if this helps!

1 Like