mirror of
https://github.com/nextcloud/all-in-one.git
synced 2024-11-15 11:35:56 +08:00
8 lines
240 B
JavaScript
8 lines
240 B
JavaScript
|
document.addEventListener("DOMContentLoaded", function(event) {
|
||
|
// timezone
|
||
|
let timezone = document.getElementById("timezone");
|
||
|
if (timezone) {
|
||
|
timezone.value = Intl.DateTimeFormat().resolvedOptions().timeZone
|
||
|
}
|
||
|
});
|