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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user