Compare commits
No commits in common. "544ce24fdbef6028ad0e06f0683b075a03a06d4b" and "c5dd98cda6289ee21288d135c1a9c13a7a2f52bb" have entirely different histories.
544ce24fdb
...
c5dd98cda6
@ -1 +1 @@
|
|||||||
v20260103-05-reports-date-import-fix
|
v20260103-04-reports-default-period-fix
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
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)."""
|
||||||
|
|||||||
@ -28,13 +28,6 @@
|
|||||||
- 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.
|
|
||||||
|
|
||||||
|
|
||||||
================================================================================================================================================
|
================================================================================================================================================
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user