From 827d4be94adcc4d6ef3137684b59a8477295d34f Mon Sep 17 00:00:00 2001 From: TechnologyClassroom Date: Thu, 21 Mar 2019 12:49:01 -0400 Subject: [PATCH] UTC time --- 2019/tv/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2019/tv/index.html b/2019/tv/index.html index 4b474a7d..358bf9d1 100755 --- a/2019/tv/index.html +++ b/2019/tv/index.html @@ -361,7 +361,7 @@ fetch(feedUrl).then((res) => { }).catch(() => console.error('Error in fetching the RSS feed')); var d = new Date(); -var h = d.getHours(); +var h = d.getUTCHours(); var m = d.getDate(); document.body.className = "day" + m + " time" + h; -- 2.25.1