DEV: Remove the last/only use of inline-date helper (#22692)

See: https://github.com/discourse/discourse/pull/22385
This commit is contained in:
Jarek Radosz 2023-07-19 21:13:40 +02:00 committed by GitHub
parent 9e83d64723
commit b105c6c510
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 4 deletions

View File

@ -54,10 +54,12 @@
@class="badge-info"
@date={{ub.granted_at}}
>
<div class="granted-on">{{i18n
"badges.granted_on"
date=(inline-date ub.granted_at)
}}</div>
<div class="granted-on">
{{html-safe
(i18n "badges.granted_on" date=(format-date ub.granted_at))
}}
</div>
{{#if ub.post_number}}
<a
class="post-link"