We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
date-format-distance-to-now
moment-from-now
1 parent 28e72a1 commit 34910ecCopy full SHA for 34910ec
app/templates/crate/version.hbs
@@ -84,7 +84,9 @@
84
<div local-class='top'>
85
<div>
86
<div local-class='last-update'>Last Updated</div>
87
- <div local-class='{{if this.currentVersion.crate_size 'date-with-small-margin-bot' 'date'}}'>{{moment-from-now this.crate.updated_at}}</div>
+ <div local-class='{{if this.currentVersion.crate_size 'date-with-small-margin-bot' 'date'}}'>
88
+ {{date-format-distance-to-now this.crate.updated_at addSuffix=true}}
89
+ </div>
90
</div>
91
92
{{#if this.currentVersion.crate_size}}
0 commit comments