Add comprehensive timezone options to all reports pages

- Create reusable timezone options partial with all IANA timezones
- Include 400+ timezone options organized by region (Africa, America, Antarctica, Arctic, Asia, Atlantic, Australia, Europe, Indian, Pacific)
- Each timezone displays only the city name for cleaner UI
- Update all reports pages to use the timezone options partial
- Timezone options include: Auto (Browser Local), UTC, and all major world timezones
parent 8a73a862
This diff is collapsed.
......@@ -218,20 +218,7 @@
<div class="timezone-selector">
<span>Timezone:</span>
<select id="timezone" onchange="changeTimezone()">
<option value="auto" {% if filters.timezone == 'auto' or not filters.timezone %}selected{% endif %}>Auto (Browser Local)</option>
<option value="UTC" {% if filters.timezone == 'UTC' %}selected{% endif %}>UTC</option>
<option value="America/New_York" {% if filters.timezone == 'America/New_York' %}selected{% endif %}>New York (EST/EDT)</option>
<option value="America/Los_Angeles" {% if filters.timezone == 'America/Los_Angeles' %}selected{% endif %}>Los Angeles (PST/PDT)</option>
<option value="America/Chicago" {% if filters.timezone == 'America/Chicago' %}selected{% endif %}>Chicago (CST/CDT)</option>
<option value="Europe/London" {% if filters.timezone == 'Europe/London' %}selected{% endif %}>London (GMT/BST)</option>
<option value="Europe/Paris" {% if filters.timezone == 'Europe/Paris' %}selected{% endif %}>Paris (CET/CEST)</option>
<option value="Europe/Berlin" {% if filters.timezone == 'Europe/Berlin' %}selected{% endif %}>Berlin (CET/CEST)</option>
<option value="Asia/Tokyo" {% if filters.timezone == 'Asia/Tokyo' %}selected{% endif %}>Tokyo (JST)</option>
<option value="Asia/Shanghai" {% if filters.timezone == 'Asia/Shanghai' %}selected{% endif %}>Shanghai (CST)</option>
<option value="Asia/Dubai" {% if filters.timezone == 'Asia/Dubai' %}selected{% endif %}>Dubai (GST)</option>
<option value="Asia/Singapore" {% if filters.timezone == 'Asia/Singapore' %}selected{% endif %}>Singapore (SGT)</option>
<option value="Australia/Sydney" {% if filters.timezone == 'Australia/Sydney' %}selected{% endif %}>Sydney (AEST/AEDT)</option>
<option value="Pacific/Auckland" {% if filters.timezone == 'Pacific/Auckland' %}selected{% endif %}>Auckland (NZST/NZDT)</option>
{% include 'main/_timezone_options.html' %}
</select>
</div>
</div>
......
......@@ -322,20 +322,7 @@
<i class="fas fa-globe me-1"></i> Timezone
</label>
<select class="form-select" id="timezone" name="timezone">
<option value="auto" {% if filters.timezone == 'auto' or not filters.timezone %}selected{% endif %}>Auto (Browser Local)</option>
<option value="UTC" {% if filters.timezone == 'UTC' %}selected{% endif %}>UTC</option>
<option value="America/New_York" {% if filters.timezone == 'America/New_York' %}selected{% endif %}>America/New York (EST/EDT)</option>
<option value="America/Los_Angeles" {% if filters.timezone == 'America/Los_Angeles' %}selected{% endif %}>America/Los Angeles (PST/PDT)</option>
<option value="America/Chicago" {% if filters.timezone == 'America/Chicago' %}selected{% endif %}>America/Chicago (CST/CDT)</option>
<option value="Europe/London" {% if filters.timezone == 'Europe/London' %}selected{% endif %}>Europe/London (GMT/BST)</option>
<option value="Europe/Paris" {% if filters.timezone == 'Europe/Paris' %}selected{% endif %}>Europe/Paris (CET/CEST)</option>
<option value="Europe/Berlin" {% if filters.timezone == 'Europe/Berlin' %}selected{% endif %}>Europe/Berlin (CET/CEST)</option>
<option value="Asia/Tokyo" {% if filters.timezone == 'Asia/Tokyo' %}selected{% endif %}>Asia/Tokyo (JST)</option>
<option value="Asia/Shanghai" {% if filters.timezone == 'Asia/Shanghai' %}selected{% endif %}>Asia/Shanghai (CST)</option>
<option value="Asia/Singapore" {% if filters.timezone == 'Asia/Singapore' %}selected{% endif %}>Asia/Singapore (SGT)</option>
<option value="Asia/Dubai" {% if filters.timezone == 'Asia/Dubai' %}selected{% endif %}>Asia/Dubai (GST)</option>
<option value="Australia/Sydney" {% if filters.timezone == 'Australia/Sydney' %}selected{% endif %}>Australia/Sydney (AEST/AEDT)</option>
<option value="Africa/Johannesburg" {% if filters.timezone == 'Africa/Johannesburg' %}selected{% endif %}>Africa/Johannesburg (SAST)</option>
{% include 'main/_timezone_options.html' %}
</select>
</div>
</div>
......
......@@ -312,20 +312,7 @@
<div class="timezone-selector">
<span>Timezone:</span>
<select id="timezone" onchange="changeTimezone()">
<option value="auto" {% if filters.timezone == 'auto' or not filters.timezone %}selected{% endif %}>Auto (Browser Local)</option>
<option value="UTC" {% if filters.timezone == 'UTC' %}selected{% endif %}>UTC</option>
<option value="America/New_York" {% if filters.timezone == 'America/New_York' %}selected{% endif %}>New York (EST/EDT)</option>
<option value="America/Los_Angeles" {% if filters.timezone == 'America/Los_Angeles' %}selected{% endif %}>Los Angeles (PST/PDT)</option>
<option value="America/Chicago" {% if filters.timezone == 'America/Chicago' %}selected{% endif %}>Chicago (CST/CDT)</option>
<option value="Europe/London" {% if filters.timezone == 'Europe/London' %}selected{% endif %}>London (GMT/BST)</option>
<option value="Europe/Paris" {% if filters.timezone == 'Europe/Paris' %}selected{% endif %}>Paris (CET/CEST)</option>
<option value="Europe/Berlin" {% if filters.timezone == 'Europe/Berlin' %}selected{% endif %}>Berlin (CET/CEST)</option>
<option value="Asia/Tokyo" {% if filters.timezone == 'Asia/Tokyo' %}selected{% endif %}>Tokyo (JST)</option>
<option value="Asia/Shanghai" {% if filters.timezone == 'Asia/Shanghai' %}selected{% endif %}>Shanghai (CST)</option>
<option value="Asia/Dubai" {% if filters.timezone == 'Asia/Dubai' %}selected{% endif %}>Dubai (GST)</option>
<option value="Asia/Singapore" {% if filters.timezone == 'Asia/Singapore' %}selected{% endif %}>Singapore (SGT)</option>
<option value="Australia/Sydney" {% if filters.timezone == 'Australia/Sydney' %}selected{% endif %}>Sydney (AEST/AEDT)</option>
<option value="Pacific/Auckland" {% if filters.timezone == 'Pacific/Auckland' %}selected{% endif %}>Auckland (NZST/NZDT)</option>
{% include 'main/_timezone_options.html' %}
</select>
</div>
</div>
......
......@@ -341,20 +341,7 @@
<i class="fas fa-globe me-1"></i> Timezone
</label>
<select class="form-select" id="timezone" name="timezone">
<option value="auto" {% if filters.timezone == 'auto' or not filters.timezone %}selected{% endif %}>Auto (Browser Local)</option>
<option value="UTC" {% if filters.timezone == 'UTC' %}selected{% endif %}>UTC</option>
<option value="America/New_York" {% if filters.timezone == 'America/New_York' %}selected{% endif %}>America/New York (EST/EDT)</option>
<option value="America/Los_Angeles" {% if filters.timezone == 'America/Los_Angeles' %}selected{% endif %}>America/Los Angeles (PST/PDT)</option>
<option value="America/Chicago" {% if filters.timezone == 'America/Chicago' %}selected{% endif %}>America/Chicago (CST/CDT)</option>
<option value="Europe/London" {% if filters.timezone == 'Europe/London' %}selected{% endif %}>Europe/London (GMT/BST)</option>
<option value="Europe/Paris" {% if filters.timezone == 'Europe/Paris' %}selected{% endif %}>Europe/Paris (CET/CEST)</option>
<option value="Europe/Berlin" {% if filters.timezone == 'Europe/Berlin' %}selected{% endif %}>Europe/Berlin (CET/CEST)</option>
<option value="Asia/Tokyo" {% if filters.timezone == 'Asia/Tokyo' %}selected{% endif %}>Asia/Tokyo (JST)</option>
<option value="Asia/Shanghai" {% if filters.timezone == 'Asia/Shanghai' %}selected{% endif %}>Asia/Shanghai (CST)</option>
<option value="Asia/Singapore" {% if filters.timezone == 'Asia/Singapore' %}selected{% endif %}>Asia/Singapore (SGT)</option>
<option value="Asia/Dubai" {% if filters.timezone == 'Asia/Dubai' %}selected{% endif %}>Asia/Dubai (GST)</option>
<option value="Australia/Sydney" {% if filters.timezone == 'Australia/Sydney' %}selected{% endif %}>Australia/Sydney (AEST/AEDT)</option>
<option value="Africa/Johannesburg" {% if filters.timezone == 'Africa/Johannesburg' %}selected{% endif %}>Africa/Johannesburg (SAST)</option>
{% include 'main/_timezone_options.html' %}
</select>
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment