File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -3,5 +3,9 @@ layout: default
33permalink : /events/
44---
55
6- <iframe src =" https://calendar.google.com/calendar/embed?src=7000a514e4c452c330b7786deba4a311e5d2e7aac1951ba87451e2b0961882a8%40group.calendar.google.com " style =" border : 0 " width =" 800 " height =" 600 " frameborder =" 0 " scrolling =" no " ></iframe >
7-
6+ <script type =" text/javascript " >
7+ const timezone = Intl .DateTimeFormat ().resolvedOptions ().timeZone
8+ const html = ` <iframe src="https://calendar.google.com/calendar/embed?src=7000a514e4c452c330b7786deba4a311e5d2e7aac1951ba87451e2b0961882a8%40group.calendar.google.com&ctz=${ timezone} " style=" border-width:0 " width="800" height="600" frameborder="0" scrolling="no"></iframe>`
9+ document .getElementById (' calendar-container' ).innerHTML = html;
10+ </script >
11+ <div class =" calendar-container " ></div >
You can’t perform that action at this time.
0 commit comments