add tz to scheduled countdown timer

This commit is contained in:
neil 2022-11-02 20:34:18 +08:00
parent c684688e6f
commit 606081b956

View file

@ -173,7 +173,8 @@ integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+
<script>
// Set the date we're counting down to
var countDownDate = new Date("Nov 3, 2022 07:30:00").getTime();
const teaDemoSchedule = "2022-11-03T07:30:00.000+00:00"; // Lisbon is UTC+0
var countDownDate = new Date(teaDemoSchedule).getTime();
// Update the count down every 1 second
var x = setInterval(function() {