From 4febb01ebdb9ce908511012bab735c74a0af27de Mon Sep 17 00:00:00 2001 From: srivenkatharsha Date: Mon, 13 Mar 2023 19:05:12 +0530 Subject: [PATCH] .ics modified for compatibility --- js/exam_schedule.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/js/exam_schedule.js b/js/exam_schedule.js index 17149b6..cd63259 100644 --- a/js/exam_schedule.js +++ b/js/exam_schedule.js @@ -130,10 +130,10 @@ let exam_schedule_sync = () => { console.log(start_time,end_time) try{header += "BEGIN:VEVENT\n"+ - "UID:"+ `${year1}${month1}${day1}T${hour1}${minute1}${second1}Z-${exam.course_code[i]}@vitap.ac.in\n`+ - "DTSTAMP;TZID=Asia/Kolkata:"+ `${year1}${month1}${day1}T${hour1}${minute1}${second1}Z\n`+ - "DTSTART;TZID=Asia/Kolkata:"+ `${tmp[2]}${map[tmp[1]]}${tmp[0]}T`+ `${start_time.split(":")[0]}`+`${start_time.split(":")[1]}00Z\n`+ - "DTEND;TZID=Asia/Kolkata:"+ `${tmp[2]}${map[tmp[1]]}${tmp[0]}T`+ `${end_time.split(":")[0]}`+`${end_time.split(":")[1]}00Z\n`+ + "UID:"+ `${year1}${month1}${day1}T${hour1}${minute1}${second1}-${exam.course_code[i]}@vitap.ac.in\n`+ + "DTSTAMP;TZID=Asia/Kolkata:"+ `${year1}${month1}${day1}T${hour1}${minute1}${second1}\n`+ + "DTSTART;TZID=Asia/Kolkata:"+ `${tmp[2]}${map[tmp[1]]}${tmp[0]}T`+ `${start_time.split(":")[0]}`+`${start_time.split(":")[1]}00\n`+ + "DTEND;TZID=Asia/Kolkata:"+ `${tmp[2]}${map[tmp[1]]}${tmp[0]}T`+ `${end_time.split(":")[0]}`+`${end_time.split(":")[1]}00\n`+ "SUMMARY:"+ exam.course_code[i]+":"+exam.course_title[i]+"\n"+ "DESCRIPTION:"+"Seat Location : "+exam.seat_location[i] +";"+ " Seat Number : "+exam.seat_number[i] + "\n"+ "LOCATION:"+ exam.venue[i]+" "+exam.venue_room[i]+" " +"\n"+