Compare commits
2 Commits
daa50039a7
...
4c8c8e6bcd
Author | SHA1 | Date | |
---|---|---|---|
4c8c8e6bcd | |||
f814fd74a1 |
@ -1,4 +1,4 @@
|
||||
<time :if={@date} id={@id} datetime={@date |> Date.to_iso8601(:extended)} x-data={~s<{
|
||||
<time :if={@date} datetime={@date |> Date.to_iso8601(:extended)} x-data={~s<{
|
||||
date:
|
||||
Intl.DateTimeFormat([], {timeZone: 'Etc/UTC', dateStyle: 'short'})
|
||||
.format(new Date("#{Date.to_iso8601(@date, :extended)}"))
|
||||
|
@ -1,4 +1,4 @@
|
||||
<time :if={@datetime} id={@id} datetime={cast_datetime(@datetime)} x-data={~s/{
|
||||
<time :if={@datetime} datetime={cast_datetime(@datetime)} x-data={~s/{
|
||||
datetime:
|
||||
Intl.DateTimeFormat([], {dateStyle: 'short', timeStyle: 'long'})
|
||||
.format(new Date("#{cast_datetime(@datetime)}"))
|
||||
|
Loading…
Reference in New Issue
Block a user