TryGhost / Source

The default theme for Ghost
https://source.ghost.io
MIT License
66 stars 134 forks source link

Option to adjust date format #23

Open tomson opened 1 year ago

tomson commented 1 year ago
### Option to format the date of a post
- [ ] https://github.com/TryGhost/Source/blob/main/post.hbs
tomson commented 1 year ago

Change <time class="gh-article-meta-date" datetime="{{date format="YYYY-MM-DD"}}">{{date}}</time> to <time class="gh-article-meta-date" datetime="{{date format="D MMM YYYY"}}">{{date format="D MMM YYYY"}}</time> to allow customisation of local date format.