Cannot get future-dated post to show with --buildFuture…


I am sure I am doing something really stupid… I just can’t for the life of me see what.

I simply want to generate posts that are future dated. IIUC, that’s what --buildFuture does. But when I launch hugo with:

hugo server --buildFuture --buildDrafts

I don’t see any future-dated posts rendered. Here’s the header for an example post:

title: "this is a test"
date: 2020-12-15T13:34:44Z
draft: true

I have tried date and publishdate, same result. If I change it to a timestamp previous to now, it works just fine.


$ hugo version
Hugo Static Site Generator v0.79.0/extended darwin/amd64 BuildDate: unknown

Any suggestions for what daft thing I’ve done? Or how to debug it further?

Hi there,

I cannot replicate your issue. Do you have your repo somewhere we can have a look at?

Yes, it’s here:

The “story” theme is filtering out future dates. See:

1 Like

Thank you so much @jmooring :+1:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.