Fix Date IOS

This commit is contained in:
cuom1999 2021-12-28 08:05:56 +07:00
parent b030a4f921
commit 7268f2eb96

View file

@ -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;