diff --git a/lib/pinchflat_web/controllers/media_items/media_item_html/show.html.heex b/lib/pinchflat_web/controllers/media_items/media_item_html/show.html.heex index e2442c6..1bfad2d 100644 --- a/lib/pinchflat_web/controllers/media_items/media_item_html/show.html.heex +++ b/lib/pinchflat_web/controllers/media_items/media_item_html/show.html.heex @@ -70,7 +70,7 @@ <%= task.job.state %> <: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" /> <% else %> diff --git a/lib/pinchflat_web/controllers/sources/source_html/show.html.heex b/lib/pinchflat_web/controllers/sources/source_html/show.html.heex index 26fdc96..0041bb7 100644 --- a/lib/pinchflat_web/controllers/sources/source_html/show.html.heex +++ b/lib/pinchflat_web/controllers/sources/source_html/show.html.heex @@ -67,7 +67,7 @@ <%= task.job.state %> <: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" /> <% else %>