<%= if media_file_exists?(@media_item) do %>
-
+
<.media_preview media_item={@media_item} />
-
@@ -70,7 +71,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} />
<% else %>
diff --git a/lib/pinchflat_web/controllers/media_profiles/media_profile_html/actions_dropdown.html.heex b/lib/pinchflat_web/controllers/media_profiles/media_profile_html/actions_dropdown.html.heex
index 29fbe42..da058fa 100644
--- a/lib/pinchflat_web/controllers/media_profiles/media_profile_html/actions_dropdown.html.heex
+++ b/lib/pinchflat_web/controllers/media_profiles/media_profile_html/actions_dropdown.html.heex
@@ -2,7 +2,7 @@
<:option>
copied = true,
() => copied = false
)
diff --git a/lib/pinchflat_web/controllers/sources/source_html/actions_dropdown.html.heex b/lib/pinchflat_web/controllers/sources/source_html/actions_dropdown.html.heex
index 0495384..f2681c0 100644
--- a/lib/pinchflat_web/controllers/sources/source_html/actions_dropdown.html.heex
+++ b/lib/pinchflat_web/controllers/sources/source_html/actions_dropdown.html.heex
@@ -17,7 +17,7 @@
<:option>
copied = true,
() => copied = false
)
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..0e9459a 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} />
<% else %>