mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-05-28 22:40:20 +00:00
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: szaimen <42591237+szaimen@users.noreply.github.com>
11 lines
367 B
JavaScript
11 lines
367 B
JavaScript
// SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
|
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
document.addEventListener("DOMContentLoaded", function(event) {
|
|
// timezone
|
|
let timezone = document.getElementById("timezone");
|
|
if (timezone) {
|
|
timezone.placeholder = Intl.DateTimeFormat().resolvedOptions().timeZone
|
|
}
|
|
});
|