Jekyll dates

Internet

I wasn’t happy with the default dates in Jekyll’s liquid markup. It’s been so long since I’ve messed with them, since my site has been running largely unaltered for a few years now.

The original Shopify docs have all the date formats. For this site, I changed it to:

{{ post.date | date: "%A, %d %B, %Y" }}

This renders:

Wednesday, 11 June 2014.

Incidently, I also had to remember how to escape liquid markup using raw tags, instead of being interpreted!

Author bio and support

Me!

Ruben Schade is a technical writer and infrastructure architect in Sydney, Australia who refers to himself in the third person. Hi!

The site is powered by Hugo, FreeBSD, and OpenZFS on OrionVM, everyone’s favourite bespoke cloud infrastructure provider.

If you found this post helpful or entertaining, you can shout me a coffee or send a comment. Thanks ☺️.