File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -198,8 +198,8 @@ X-PUBLISHED-TTL:PT1H
198198 const titleFormatted = `${ AssignmentCodeDescription [ item . assignmentCode ] } ${
199199 item . activity . name
200200 } `;
201- const startDate = new Date ( item . activity . startTime ) ;
202- const endDate = new Date ( item . activity . endTime ) ;
201+ const startDate = icsFormatDate ( new Date ( item . activity . startTime ) ) ;
202+ const endDate = icsFormatDate ( new Date ( item . activity . endTime ) ) ;
203203
204204 console . log ( wcif . schedule ) ;
205205
@@ -216,8 +216,8 @@ DTSTAMP:${icsFormatDate(new Date())}
216216SUMMARY:${ titleFormatted }
217217DESCRIPTION:${ item . activity . name }
218218LOCATION:${ item . activity . parent . room . name }
219- DTSTART:${ icsFormatDate ( startDate ) }
220- DTEND:${ icsFormatDate ( endDate ) }
219+ DTSTART:${ startDate }
220+ DTEND:${ endDate }
221221${ location } END:VEVENT
222222BEGIN:VALARM
223223TRIGGER:-PT5M
You can’t perform that action at this time.
0 commit comments