From 5a04be896aa932795550dfbb6e84f0e6a6c76904 Mon Sep 17 00:00:00 2001 From: lub Date: Sun, 21 Jul 2019 11:50:25 +0200 Subject: [PATCH] make timer target variable --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index 95e6240..40730c0 100644 --- a/main.js +++ b/main.js @@ -1,4 +1,4 @@ -const target = new Date('2019-06-23T12:00:00+02:00'); +const target = new Date(location.hash.substr(1)); const second = 1000; const minute = second*60;