Date format not being respected

I've noticed that the date format I've set in 'Analytics, comments, typography > Date and time' is not being respected. I have it set to 'Day-Month-Year', but posts on my site are still presented with the date in 'Month Day, Year'. Can anyone give me an idea what I should be looking for in the source code that defines the date format?

(I realise this will be somewhat template-dependent, and I've modified mine so much over the years that I honestly forget which it was originally forked from, Rosa maybe?)

2 replies

Are you using the {{date}} tag in your custom template? That is the tag affected by the date display settings.

Note the date display settings are adjustable on the template editor for your template.

The option on the services page of the dashboard only affects the date parser

Answered 3 months ago · Improve this answer

Yep, here's the line from entries.html that generates the date:

<a class="small date left margin" href="{{url}}">{{date}}</a>

and here in entry.html:

<a class="small date left margin" href="{{{url}}}">{{date}}</a>

By "template editor", do you mean the Settings panel (below)? If so, date display options don't seem to be included there:

Answered 3 months ago · Improve this answer

Markdown allowed
Question or feedback?
Contact us


developers 28 questions bug 14 questions posts 9 questions resolved 7 questions request 6 questions google-drive 5 questions configure 4 questions pages 3 questions added 3 questions meta 3 questions More tags →
Subscribe for changes
RSS Feed of latest questions