Auto-commit local changes before build (2026-01-03 13:29:09)
This commit is contained in:
parent
4654fac477
commit
896bcbe55f
@ -1 +1 @@
|
||||
v20260103-04-reports-default-period-fix
|
||||
v20260103-05-reports-date-import-fix
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
from .routes_shared import * # noqa: F401,F403
|
||||
from datetime import date, timedelta
|
||||
|
||||
def get_default_report_period():
|
||||
"""Return default report period (last 7 days)."""
|
||||
|
||||
@ -28,6 +28,13 @@
|
||||
- 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.
|
||||
|
||||
---
|
||||
|
||||
## 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.
|
||||
|
||||
|
||||
================================================================================================================================================
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user