Sign up - Jecelyn's cooking class
const dte = new Date(Date.UTC(2020, 11, 24, 4, 0, 0));
document.querySelector('.timezone').innerText =
new Intl.DateTimeFormat().resolvedOptions().timeZone;
document.querySelector('time').innerText =
dte.toLocaleString(navigator.language);
if (navigator.language == 'ja-JP') {
// update text
}