Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add flag for showing publish date with hugo list future #5610

Closed
danielcompton opened this Issue Jan 15, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@danielcompton
Copy link
Contributor

commented Jan 15, 2019

I'd like to build tooling to automatically publish future dated posts once they become current posts. hugo list future prints a list of all future dated posts, but not their publish dates. Would a PR be accepted that added a flag to include the publish dates?

@bep

This comment has been minimized.

Copy link
Member

commented Jan 15, 2019

Would a PR be accepted that added a flag to include the publish dates?

No flag, but adding publishdate to the default output would be fine. Maybe adjust it to some common machine-readable format, CSV?

@bep bep closed this in #5703 Mar 18, 2019

bep added a commit that referenced this issue Mar 18, 2019

List future and expired dates in CSV format
It is useful to see the date that a post will be published, or the date
that it has expired, to build tooling around it. This commit writes
posts and their publish/expired date as CSV.

Fixes #5610
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.