I am rendering some dates using .Date | time.Format "Jan 2006". The only dates which render correctly are those in September (across multiple years). I’ve tried other month formats like “January” or “01” and those all render fine for all months. Odd!
Is this a known bug?
Hugo version is 0.161.1.
Thanks!
Please show examples of your front matter.
All the dates look like this:
date: 2026-04-04T15:46:35+01:00
Please try this…
git clone --single-branch -b hugo-forum-topic-57153 https://github.com/jmooring/hugo-testing hugo-forum-topic-57153
cd hugo-forum-topic-57153
hugo server
…and compare the template code and front matter to what you have.
Works for me.
Odd! Your example works for me too with my installed version of Hugo. I haven’t rendered my site in a bit, but the dates were working previously and I haven’t touched them or the template code.
If you need additional assistance I think you’ll need to provide a public link to your project repository.