I am using the telescope app. Currently in my post title template I am using scheduledAt to show a date when an event will be. I would like to shorten the date to just Thu May 07 2015 but I don't really know how to go about doing this.
Asked
Active
Viewed 82 times
1 Answers
4
In Telescope, there's a helper named formatDate
specifically designed for that purpose, just call it in your template like this :
{{formatDate scheduledAt "ddd MMMM DD YYYY"}}
Under the hood, it's using momentjs
to display the date object.

saimeunt
- 22,666
- 2
- 56
- 61
-
2Or, for full month: "ddd MMMM DD YYYY" – SylvainB May 06 '15 at 11:27