Merge dev into main for customer release #33

Merged
avm merged 7 commits from feature/customer-release-20260719 into main 2026-07-19 21:37:48 +03:00
Showing only changes of commit 06e8c2c3c6 - Show all commits

View File

@@ -10,7 +10,9 @@ def collection_period_month(at: date | datetime | None = None) -> date:
if at is None:
local_date = timezone.localdate()
elif isinstance(at, datetime):
local_date = timezone.localtime(at).date() if timezone.is_aware(at) else at.date()
local_date = (
timezone.localtime(at).date() if timezone.is_aware(at) else at.date()
)
else:
local_date = at
return local_date.replace(day=1)