Skip to content

Commit

Permalink
Introduce rload test
Browse files Browse the repository at this point in the history
  • Loading branch information
NightScript370 committed Jul 30, 2024
1 parent a99d584 commit c93aa18
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions pages/shul-wall/rload-test.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: Reload Test
permalink: /shul-wall/rload-test
layout: nothing
---

<div id="curTime"></div>
<script type="module">
// @ts-check
import { Temporal } from '/assets/libraries/kosherZmanim/kosher-zmanim.esm.js';

const curTime = Temporal.Now.zonedDateTimeISO()
document.getElementById("curTime").innerHTML = curTime.toLocaleString();

setTimeout(() => { window.location.reload() }, curTime.until(curTime.add({seconds: 20})).total('milliseconds'))
</script>

0 comments on commit c93aa18

Please sign in to comment.