Log in Sign up

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?)

4 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 a year 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 a year ago · Improve this answer

It took me 7 months, but I finally understood what you were saying here, and I've fixed it!

Answered 6 months ago · Improve this answer

Excellent, please let me know if anything else comes up

Answered 6 months ago · Improve this answer

Markdown allowed
Question or feedback?
Contact us


developers 92 questions bug 48 questions posts 27 questions resolved 27 questions metadata 26 questions templates 24 questions how 14 questions tags 13 questions markdown 12 questions google-drive 10 questions More tags →
Subscribe for changes
RSS Feed of latest questions