Display timestamps in Tehran time, not UTC
The server clock is correct (UTC); the app rendered UTC wall-clock directly, so the run log showed ~3.5h behind Tehran. Add JalaliDate.ToTehran (flat UTC+3:30 — Iran dropped DST in 2022) + DateTimeLabel, and convert the UTC-stored timestamp displays (ingestion run log, RawListing FetchedAt, report CreatedAt). Shift start/end inputs are TimeOnly, left as-is. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
<strong>@Model.SourceChannel</strong>
|
||||
<span style="display:flex; gap:8px; align-items:center;">
|
||||
<span class="badge @confClass">اطمینان @JalaliDate.ToPersianDigits(c.ToString())٪</span>
|
||||
<span class="muted" style="font-size:12px;">@JalaliDate.ToLongDate(DateOnly.FromDateTime(Model.FetchedAt)) — @JalaliDate.ToPersianDigits(Model.FetchedAt.ToString("HH:mm"))</span>
|
||||
<span class="muted" style="font-size:12px;">@JalaliDate.DateTimeLabel(Model.FetchedAt)</span>
|
||||
</span>
|
||||
</div>
|
||||
<p style="margin:10px 0; white-space:pre-wrap;">@Model.RawText</p>
|
||||
|
||||
Reference in New Issue
Block a user