You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What version of Hugo are you using (hugo version)?
$ hugo version
hugo v0.121.2-6d5b44305eaa9d0a157946492a6f319da38de154+extended darwin/arm64 BuildDate=2024-01-05T12:21:15Z VendorInfo=brew
Does this issue reproduce with the latest release?
Yes
When running hugo list future the --clock option is ignored.
For example, I have the following page:
---
title: "A few Hugo Shortcodes"
date: 2024-01-22T00:00:00
---
bla bla
This is the output of hugo list future as right now:
% hugo list future
path,slug,title,date,expiryDate,publishDate,draft,permalink
content/posts/2024-01-22 Hugo Shortcodes/index.md,,A few Hugo Shortcodes,2024-01-22T00:00:00+01:00,0001-01-01T00:00:00Z,2024-01-22T00:00:00+01:00,false,https://oli.fyi/2024/a-few-hugo-shortcodes/
And this is the output if I try to set the clock for later:
% hugo list future --clock "2024-01-25T00:00:00.00+01:00"
path,slug,title,date,expiryDate,publishDate,draft,permalink
content/posts/2024-01-22 Hugo Shortcodes/index.md,,A few Hugo Shortcodes,2024-01-22T00:00:00+01:00,0001-01-01T00:00:00Z,2024-01-22T00:00:00+01:00,false,https://oli.fyi/2024/a-few-hugo-shortcodes/
I would expect this to not be a future page anymore, having set the clock on the 25th. It does work, and it will build it after the 22nd, but the future command is not working.
The text was updated successfully, but these errors were encountered:
What version of Hugo are you using (
hugo version
)?Does this issue reproduce with the latest release?
Yes
When running
hugo list future
the--clock
option is ignored.For example, I have the following page:
This is the output of
hugo list future
as right now:And this is the output if I try to set the clock for later:
I would expect this to not be a future page anymore, having set the clock on the 25th. It does work, and it will build it after the 22nd, but the future command is not working.
The text was updated successfully, but these errors were encountered: