Streaming live at 10am (PST)

Dynamic embed for a date field - how to format to include time


#1

So I know we can embed any CMS field via a dynamic embed. What about a CMS date field where time is important?

I’m creating a dynamic “add to calendar” button for an events collection where a starting and ending time, not just date, is associated with the event. I am using the add to calendar js found here: https://github.com/nwcell/ics.js?files=1. Works great, just can’t extract in the dynamic embed the start and end times - I can get the actual date just fine.

When referencing a CMS date field in the designer, not in a a dynamic embed, we can set the date format. How do we do this for a dynamic embed?


#2

This is currently not possible…