farhan 4 月之前
父節點
當前提交
8a4fb69f3d
共有 1 個檔案被更改,包括 9 行新增9 行删除
  1. 9
    9
      resources/views/modals/calendar-modal.blade.php

+ 9
- 9
resources/views/modals/calendar-modal.blade.php 查看文件

@@ -279,15 +279,15 @@
279 279
 
280 280
         if (os === 'iOS') {
281 281
             const icsContent = `BEGIN:VCALENDAR
282
-                                VERSION:2.0
283
-                                BEGIN:VEVENT
284
-                                SUMMARY:${title}
285
-                                DTSTART:${startDate}
286
-                                DTEND:${endDate}
287
-                                DESCRIPTION:${details}
288
-                                LOCATION:${location}
289
-                                END:VEVENT
290
-                                END:VCALENDAR`;
282
+VERSION:2.0
283
+BEGIN:VEVENT
284
+SUMMARY:${title}
285
+DTSTART:${startDate}
286
+DTEND:${endDate}
287
+DESCRIPTION:${details}
288
+LOCATION:${location}
289
+END:VEVENT
290
+END:VCALENDAR`;
291 291
 
292 292
             const dataURI = 'data:text/calendar;charset=utf-8,' + encodeURIComponent(icsContent);
293 293
             const a = document.createElement('a');

Loading…
取消
儲存