nwcell / ics.js

A browser firendly VCS file generator written entirely in javascript!!!!!!
MIT License
614 stars 258 forks source link

alldayflag #84

Open phusting opened 2 years ago

phusting commented 2 years ago

Is there an allday setting for the event?

d80wrk commented 2 years ago
<#if curEvent.startTime == curEvent.endTime>
  <#assign eventAllDay = "yes" />
<#else>
  <#assign eventAllDay = "no" />
</#if>

In Freemarker I'm matching the start and end date from my data if they match it's essentially an all day event.