Auto-commit local changes before build (2026-01-03 13:29:09)

This commit is contained in:
Ivo Oskamp 2026-01-03 13:29:09 +01:00
parent 4654fac477
commit 896bcbe55f
3 changed files with 9 additions and 1 deletions

View File

@ -1 +1 @@
v20260103-04-reports-default-period-fix v20260103-05-reports-date-import-fix

View File

@ -1,4 +1,5 @@
from .routes_shared import * # noqa: F401,F403 from .routes_shared import * # noqa: F401,F403
from datetime import date, timedelta
def get_default_report_period(): def get_default_report_period():
"""Return default report period (last 7 days).""" """Return default report period (last 7 days)."""

View File

@ -28,6 +28,13 @@
- Fixed a NameError on the Reports page by adding the missing get_default_report_period helper. - Fixed a NameError on the Reports page by adding the missing get_default_report_period helper.
- Ensured a default reporting period is always available to prevent the Reports view from failing during load. - Ensured a default reporting period is always available to prevent the Reports view from failing during load.
---
## v20260103-05-reports-date-import-fix
- Fixed a crash on the Reports page caused by missing datetime imports.
- Added the required `date` and `timedelta` imports to prevent a NameError when determining the default report period.
================================================================================================================================================ ================================================================================================================================================