fix(database): filter dates evaluated at module load time #464

Closed
opened 2026-04-05 17:11:33 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @depado on 12/18/2025

Community Contribution License Agreement

By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.

Description

Dates in queries were evaluated at module load time and not at request time which limited the request's default behavior for timeEnd to the time the server actually started. Feel free to modify the pull request or ask me for changes. (Or close it if it's totally unrelated)

fixes #2113

Opening a very small PR on a project I love using image
*Originally created by @depado on 12/18/2025* ## Community Contribution License Agreement By creating this pull request, I grant the project maintainers an unlimited, perpetual license to use, modify, and redistribute these contributions under any terms they choose, including both the AGPLv3 and the Fossorial Commercial license terms. I represent that I have the right to grant this license for all contributed content. ## Description Dates in queries were evaluated at module load time and not at request time which limited the request's default behavior for `timeEnd` to the time the server actually started. Feel free to modify the pull request or ask me for changes. (Or close it if it's totally unrelated) fixes #2113 <details> <summary>Opening a very small PR on a project I love using</summary> <img height="200" alt="image" src="https://github.com/user-attachments/assets/f983f904-4a08-47b6-9aa8-3db25b8bb971" /> </details>
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pangolin#464