Use time with datetime for scrobble at element

This commit is contained in:
Claudio Ortolina
2024-11-06 12:39:41 +00:00
parent 26064cd15a
commit 0c72fe4bbc
2 changed files with 11 additions and 2 deletions
@@ -62,4 +62,10 @@ defmodule MusicLibraryWeb.StatsLive.Index do
_other -> ""
end
end
defp format_scrobbled_at_uts(uts) do
uts
|> DateTime.from_unix!()
|> DateTime.to_iso8601()
end
end