This commit is contained in:
haoouba
2021-02-15 13:37:39 +08:00
parent a584edd880
commit 9e737b672b
5 changed files with 10 additions and 9 deletions

View File

@@ -430,7 +430,8 @@ document.addEventListener('DOMContentLoaded', () => {
$('.joe_run__minute').html(minute)
$('.joe_run__second').html(second)
}
if (Joe.BIRTHDAY) {
if (Joe.BIRTHDAY && /(\d{4})\/(\d{1,2})\/(\d{1,2}) (\d{1,2})\:(\d{1,2})\:(\d{1,2})/.test(Joe.BIRTHDAY)) {
console.log(1);
getRunTime()
setInterval(getRunTime, 1000)
}