Closed chantastic closed 3 years ago
got back from lunch and started thinking.
if we use a
<time>
element, we can use the first class attributedatetime="{{ event.date | asISOString }}"
. if we do this we're both providing semantics to the browser AND can use that ISO string to instead of a bespokedata-*
attr.super cool! i'm going to work it out as an amendment to this PR.
I love this idea!
updated event.html
to use same localization utility function
got back from lunch and started thinking.
if we use a
<time>
element, we can use the first class attributedatetime="{{ event.date | asISOString }}"
. if we do this we're both providing semantics to the browser AND can use that ISO string to instead of a bespokedata-*
attr.super cool! i'm going to work it out as an amendment to this PR.