mirror of
https://github.com/ivabus/www
synced 2024-11-29 13:05:06 +03:00
add tz to scheduled countdown timer
This commit is contained in:
parent
c684688e6f
commit
606081b956
1 changed files with 2 additions and 1 deletions
|
@ -173,7 +173,8 @@ integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Set the date we're counting down to
|
// 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
|
// Update the count down every 1 second
|
||||||
var x = setInterval(function() {
|
var x = setInterval(function() {
|
||||||
|
|
Loading…
Reference in a new issue