Date Reset Bugs
Closed this issue · 0 comments
juftin commented
Describe the bug
I suspect weird stuff is happening when months switch over while you're inside a search window.
Here's the scenario:
-
You start a camply search on 1/30/2023 for a flexible time period covering the next week:
camply --debug campsites \ --campground 12345 \ --start-date 2023-01-30 \ --end-date 2023-02-07 \ --continuous \ --search-forever \ --notifications pushover
-
When the month changes over from January to February, spooky stuff happens. This part I'm not 100% on but I've suspected it for a while. There are some attributes like
search_days
andsearch_months
that are static instead of dynamic.
I believe we would be better off if search_days
and search_months
are dynamic based on the datetime at atribute fetch time (@property
)