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

Automatically publish on publication date #358

Open
beroset opened this issue Apr 23, 2023 · 0 comments
Open

Automatically publish on publication date #358

beroset opened this issue Apr 23, 2023 · 0 comments

Comments

@beroset
Copy link
Member

beroset commented Apr 23, 2023

Our news items each have a posted field which has the date that the news item is intended to be posted. However, the news item is posted as soon as the pull request introducing it is merged. It would be convenient to be able to merge the item and then have the news item automatically become visible on the date.

I can see a few ways we could potentially address this:

  1. use javascript on the browser to hide items until the date
  2. set the date at build time based on the git commit date
  3. change the meaning of the date to be "created" or "submitted" date rather than published date

I would be most inclined to use option 2, but there may be other ways to resolve this that are not enumerated here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant