Fix landing 500 from invalid Asia/Esfahan timezone.

Normalize Iran city aliases to Asia/Tehran, harden the clock, and make settings timezone a safe select.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-30 21:25:45 +03:30
co-authored by Cursor
parent 183ebf5e7f
commit e9eafdaabc
7 changed files with 98 additions and 12 deletions
+5 -1
View File
@@ -25,7 +25,11 @@
</div>
<div class="field">
<label class="label">منطقه زمانی</label>
<input v-model="form.timezone" class="input" dir="ltr" placeholder="Asia/Tehran" />
<select v-model="form.timezone" class="input" dir="ltr">
<option value="Asia/Tehran">Asia/Tehran (ایران — تهران، اصفهان، مشهد و …)</option>
<option value="UTC">UTC</option>
</select>
<p class="muted" style="margin-top: 0.35rem">برای همهٔ شهرهای ایران فقط Asia/Tehran معتبر است.</p>
</div>
<div class="field" style="grid-column: 1 / -1">
<label class="label">آدرس لوگو</label>