Merge pull request #1901 from GSA/notify-admin-1877

set timezone automatically
This commit is contained in:
Beverly Nguyen
2024-08-27 17:35:58 -07:00
committed by GitHub
16 changed files with 70 additions and 38 deletions

View File

@@ -0,0 +1,4 @@
document.addEventListener('DOMContentLoaded', function() {
var timeZone = Intl.DateTimeFormat().resolvedOptions().timeZone;
document.cookie = `timezone=${timeZone}; path=/`;
})