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

Set event import window dynamically #391

Open
2 tasks
ivan-kocienski-gfsc opened this issue Jul 3, 2023 · 1 comment
Open
2 tasks

Set event import window dynamically #391

ivan-kocienski-gfsc opened this issue Jul 3, 2023 · 1 comment
Labels
bug Something isn't working ee Extra Effort (I know how but not trivial) vv Very Valuable

Comments

@ivan-kocienski-gfsc
Copy link
Collaborator

ivan-kocienski-gfsc commented Jul 3, 2023

Acceptance criteria

  • events are imported regardless of date that site is built
  • allEventsQuery method in src/Data/PlaceCal/Events.elm uses the current date to derive the window with which to limit events returned.

Implementation notes & questions

Consider using Pages.builtAt value see https://package.elm-lang.org/packages/dillonkearns/elm-pages/10.1.0/BackendTask-Time

Client has asked the window to be -3 months to +6 months (from build date).

Implementation plan

@ivan-kocienski-gfsc ivan-kocienski-gfsc added bug Something isn't working ee Extra Effort (I know how but not trivial) vv Very Valuable labels Jul 3, 2023
@katjam katjam self-assigned this Jul 3, 2023
@katjam
Copy link
Member

katjam commented Jan 15, 2024

@ivan-kocienski-gfsc notes here for "not listing any events at all post 01-01-2024"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ee Extra Effort (I know how but not trivial) vv Very Valuable
Projects
None yet
Development

No branches or pull requests

2 participants