Displaying exact datetimes on Ghost
Warning
Over a year old. May be outdated
If your Ghost blog on a Handlebars theme shows dates like Published 11 months ago, your theme file has code like this.
Show exact date
The date published_at timeago="true" part makes it relative. Change it to this.
This will give something like September 7, 2000.
Show exact time
You can fine-tune with moment.js syntax.
For months, MM gives the short form (09) and MMMM gives the long one (September). Hours, minutes, seconds, and AM/PM work the same way if you want to display time. For example, I am using the following.
Further Readings
Backlinks1
221119