Format 'Scheduled At' in task table according to user's TZ

This commit is contained in:
Kieran Eglin 2024-10-24 10:40:32 -07:00
parent 3c8d99196a
commit 3d995d647a
No known key found for this signature in database
GPG key ID: 193984967FCF432D
2 changed files with 2 additions and 2 deletions

View file

@ -70,7 +70,7 @@
<%= task.job.state %>
</:col>
<:col :let={task} label="Scheduled At">
<%= Calendar.strftime(task.job.scheduled_at, "%y-%m-%d %I:%M:%S %p %Z") %>
<.datetime_in_zone datetime={task.job.scheduled_at} format="%Y-%m-%d %H:%M:%S %Z" />
</:col>
</.table>
<% else %>

View file

@ -67,7 +67,7 @@
<%= task.job.state %>
</:col>
<:col :let={task} label="Scheduled At">
<%= Calendar.strftime(task.job.scheduled_at, "%y-%m-%d %I:%M:%S %p %Z") %>
<.datetime_in_zone datetime={task.job.scheduled_at} format="%Y-%m-%d %H:%M:%S %Z" />
</:col>
</.table>
<% else %>