File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -55,16 +55,16 @@ export function useEventSelection(view: "grid" | "calendar") {
5555
5656 // Current timestamp in UTC for DTSTAMP
5757 const now = new Date ( ) ;
58- const dtstamp = now . toISOString ( ) . replace ( / [ - : ] / g, '' ) . split ( '.' ) [ 0 ] + 'Z' ;
58+ const dtstamp = now . toISOString ( ) . replace ( / [ - : ] / g, '' ) . split ( '.' ) [ 0 ] ;
5959
6060 events . forEach ( ( event ) => {
6161 const startDate = event . date . replace ( / - / g, '' ) ;
6262 const startTime = event . start_time . replace ( / : / g, '' ) ;
6363 const endTime = event . end_time ? event . end_time . replace ( / : / g, '' ) : startTime ;
6464
6565 lines . push ( 'BEGIN:VEVENT' ) ;
66- lines . push ( `DTSTART:${ startDate } T${ startTime } Z ` ) ;
67- lines . push ( `DTEND:${ startDate } T${ endTime } Z ` ) ;
66+ lines . push ( `DTSTART:${ startDate } T${ startTime } ` ) ;
67+ lines . push ( `DTEND:${ startDate } T${ endTime } ` ) ;
6868 lines . push ( `DTSTAMP:${ dtstamp } ` ) ;
6969 lines . push ( `SUMMARY:${ escapeText ( event . name ) } ` ) ;
7070 if ( event . location ) {
You can’t perform that action at this time.
0 commit comments