{"id":149,"date":"2023-06-16T14:04:22","date_gmt":"2023-06-16T14:04:22","guid":{"rendered":"http:\/\/gamequality.zephidev.com\/?page_id=149"},"modified":"2024-12-17T14:25:10","modified_gmt":"2024-12-17T14:25:10","slug":"schedule","status":"publish","type":"page","link":"https:\/\/gamequality.org\/qualicon\/schedule\/","title":{"rendered":"Schedule"},"content":{"rendered":"\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"\"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t

2025 Schedule<\/h1>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t\t

PDT 08:00 \u2013 13:00 | EDT 11:00 \u2013 16:00<\/p>

BST 16:00 \u2013 21:00 | CEST 17:00 \u2013 22:00<\/p>

EEST 18:00 \u2013 23:00 | IST 20:30 \u2013 01:30<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t

\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\r\n const timezones = new Map([\r\n [\"PDT\", -7],\r\n [\"EDT\", -4],\r\n [\"BST\", 1],\r\n [\"CEST\", 2],\r\n [\"EEST\", 3]\r\n \/\/[\"IST\", 5.5] IST is hardcoded because of :30 difference\r\n ]);\r\n \r\n var currentTime = \"BST\";\r\n \r\n function updateTimezones(newTime)\r\n {\r\n if(currentTime === newTime)\r\n return;\r\n \r\n let elms = document.querySelectorAll(\".custom_timedisplay\");\r\n \r\n elms.forEach((element) => {\r\n let time = element.innerHTML;\r\n let offset = 0;\r\n if(currentTime === \"IST\")\r\n {\r\n let correction = parseInt(time.substring(3));\r\n \r\n correction = correction - 30;\r\n \r\n if(correction < 0)\r\n {\r\n correction = correction + 60;\r\n offset = 6;\r\n }\r\n else\r\n offset = 5;\r\n \r\n let correctString = String(correction);\r\n \r\n if(correction = 60)\r\n {\r\n correction = correction - 60;\r\n newOffset = 6;\r\n }\r\n else\r\n newOffset = 5;\r\n \r\n let correctString = String(correction);\r\n \r\n if(correction < 10)\r\n correctString = "0" + correctString;\r\n \r\n if(correction == 0)\r\n correctString = "00";\r\n \r\n time = time.substring(0,2) + ":" + correctString;\r\n }\r\n else\r\n newOffset = timezones.get(newTime);\r\n \r\n let hour = parseInt(time.substring(0,2));\r\n \r\n hour = hour - offset + newOffset;\r\n \r\n if(hour = 24)\r\n hour = hour - 24 \r\n \r\n let hourString = String(hour);\r\n \r\n if(hourString { element.innerHTML = newTime; });\r\n }\r\n\r\n\r\n