From 8d0fb9c94c385cf5cbd4f10614c556dfa37e6f3a Mon Sep 17 00:00:00 2001 From: Serraniel Date: Mon, 28 Dec 2020 18:38:49 +0100 Subject: [PATCH] #147 Added comment --- src/javascript/enhancements/timeConversion.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/javascript/enhancements/timeConversion.js b/src/javascript/enhancements/timeConversion.js index 4dacdd6..a479759 100644 --- a/src/javascript/enhancements/timeConversion.js +++ b/src/javascript/enhancements/timeConversion.js @@ -9,6 +9,9 @@ const DAYS = ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday' export function init() { getGlobalConfiguration().getProperty(SETTINGS_websiteAutoTimeConversion, value => { if (value) { + // The regexp pattern matches anything except the airing page. + // This is because we would have to restructure the complete site to update time data. + // Additionally, there is a big hint that all data would be UTC+1 core.runAfterLoad(() => { updateTimestamps(document.documentElement); }, "^/(?!airing).*$");