Streaming live at 10am (PST)

Date/Time CMS field in Dynamic Embed only shows date No time

When I use Dynamic Embed on a CMS template page, and I try to Dynamic embed with a date/Time field from the CMS (Yes date and time are set). The dynamic embed field only shows the date not the time. Do i have to set attributes? or how do i get the date and time

Here is the page, I use Dynamic Embed in the “add to calendar button”

I also need to access time field in collections through the custom code. Have you got any answer?

I also ran into this issue when trying to set up the Add to Calendar widget. Does anyone know any javascript that would provide the date + time?

bumping this one up

does anybody have a solution here?

I don’t know what I’m doing. However, after copying and pasting the field into Notepad, I found that changing the first “date” to “datetime” (name) gives you a UTC date + time such as 2021-04-15T18:00:00.000Z (so use UTC for .timezone).

<span class="start">{{wf {&quot;path&quot;:&quot;start-time&quot;,&quot;transformers&quot;:[{&quot;name&quot;:&quot;datetime&quot;,&quot;arguments&quot;:[&quot;MMM DD, YYYY&quot;]\}],&quot;type&quot;:&quot;Date&quot;\} }}</span>

Yes, the argument formatting is ignored. So not a solution for general display, but good enough for Add to Calendar to work with.