Renamed the "accounting.report.period.periods" module to "accounting.report.period.shortcuts", to be clear.

This commit is contained in:
imacat committed 2023-03-09 20:13:15 +08:00
1 parent 5ebb89a6d5
commit ec257a4b57
3 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ from datetime import date
from accounting.models import Transaction
from .period import Period
from .periods import ThisMonth, LastMonth, SinceLastMonth, ThisYear, \
from .shortcuts import ThisMonth, LastMonth, SinceLastMonth, ThisYear, \
LastYear, Today, Yesterday, AllTime, TemplatePeriod, YearPeriod
+1 -1
View File
@@ -23,7 +23,7 @@ import typing as t
from datetime import date
from .period import Period
from .periods import ThisMonth, LastMonth, SinceLastMonth, ThisYear, \
from .shortcuts import ThisMonth, LastMonth, SinceLastMonth, ThisYear, \
LastYear, Today, Yesterday, AllTime
DATE_SPEC_RE: str = r"(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?"