diff --git a/app/templates/poll.hbs b/app/templates/poll.hbs index 481cb7f..10d4511 100644 --- a/app/templates/poll.hbs +++ b/app/templates/poll.hbs @@ -9,38 +9,20 @@
{{poll.description}}
- {{!
- TODO: Simplify to dateStyle="full" and timeStyle="short" after upgrading to Ember Intl v6
- }}
{{t
"poll.created-date"
date=(format-date
- poll.creationDate
- weekday="long"
- day="numeric"
- month="long"
- year="numeric"
- hour="numeric"
- minute="numeric"
+ poll.creationDate dateStyle="full" timeStyle="short"
)
}}
{{#if poll.expirationDate}}
- {{!
- TODO: Simplify to dateStyle="full" and timeStyle="short" after upgrading to Ember Intl v6
- }}
{{t
"poll.expiration-date"
date=(format-date
- poll.expirationDate
- weekday="long"
- day="numeric"
- month="long"
- year="numeric"
- hour="numeric"
- minute="numeric"
+ poll.expirationDate dateStyle="full" timeStyle="short"
)
}}