From 7268f2eb960b7809bc093d38d2be06244e6972f7 Mon Sep 17 00:00:00 2001 From: cuom1999 Date: Tue, 28 Dec 2021 08:05:56 +0700 Subject: [PATCH] Fix Date IOS --- resources/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/common.js b/resources/common.js index 9aad7de..1fed1ce 100644 --- a/resources/common.js +++ b/resources/common.js @@ -183,7 +183,7 @@ if (!Date.now) { } function count_down(label) { - var end_time = new Date(label.attr('data-secs')); + var end_time = new Date(label.attr('data-secs').replace(' ', 'T')); function format(num) { var s = "0" + num;