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

Future Post Dates on Events do not effect anything #326

Open
andypullen opened this issue Sep 23, 2024 · 0 comments
Open

Future Post Dates on Events do not effect anything #326

andypullen opened this issue Sep 23, 2024 · 0 comments
Labels
issue Something isn't working correctly

Comments

@andypullen
Copy link

Describe the bug or issue you're experiencing
Setting the Post Date of an Event to a future date does not change the status of the Event like other Craft entries do. Additionally, the postDate is not accessible in twig templates, so building queries to exclude Events with future Post Dates is also not possible.

Steps to reproduce

  1. Create an Event with a future Post Date
  2. Note that the Event status does not change to Pending, but is Live instead

Expected behavior

  • Putting a future date in the Post Date field should change the Event status to Pending
  • Pending Events should not be included in frontend Event queries by default
  • The postDate value should be included in the Event object in twig

Craft & Plugin Info (please complete the following information):

  • Craft Version: Craft Pro 4.12.3
  • Calendar Version: 5.0.8
  • Calendar Edition: Pro
  • Fresh Install or Upgrade: Upgrade
@andypullen andypullen added the issue Something isn't working correctly label Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue Something isn't working correctly
Development

No branches or pull requests

1 participant