Commit Graph

18 Commits

Author SHA1 Message Date
783ecea5cb Revised the documentation of Period in the Mia core application. 2020-08-02 02:20:08 +08:00
1b89fef01c Fixed and replaced the incorrect class property declaration with the instance property declaration, and replaced unnecessary pseudo properties with instance properties. 2020-08-02 01:04:47 +08:00
e64089f06f Added the default_spec() method to Period, and applied it to the views in the accounting application. 2020-07-29 19:08:10 +08:00
f9a9a99246 Added PeriodConverter to convert a period specification to a period, and applied it in the URL patterns. 2020-07-21 22:05:39 +08:00
42e444b8c8 Revised the code for PEP8. 2020-07-16 22:25:33 +08:00
5b9ac93ee5 Revised the import of django.utils.timezone.localdate. 2020-07-16 22:22:35 +08:00
c65d778a1b Revised Period in the Mia core application. 2020-07-14 22:15:04 +08:00
94884e72b8 Added and applied the current() method to Language in the Mia core application. 2020-07-14 22:14:39 +08:00
e895de3abc Changed Period to use the current language instead of expecting the language passed by the caller. 2020-07-14 22:10:27 +08:00
069cd9ca74 Revised the parameters of Period. 2020-07-14 07:43:47 +08:00
ea354ae101 Added ReportUrl to help building the report chooser in the accounting application. 2020-07-14 07:41:19 +08:00
依瑪貓
dde75b9805 Added Period as the template period helper, and changed PeriodParser to the inner class Period.Parser. 2020-07-08 10:52:03 +08:00
8cefd0d4bf Removed the unused get_month_range() method from the period parser. 2020-07-08 08:18:57 +08:00
56ae1bb29a Renamed the parameter period_spec to spec in the period parser. 2020-07-08 08:13:47 +08:00
39d65e1381 Revised the text message in the period parser. 2020-07-08 07:45:18 +08:00
76df32a76d Revised the period parser. 2020-07-08 07:40:07 +08:00
6f604f1c86 Revised the documentation. 2020-07-08 07:24:36 +08:00
6da65f00ba Moved the period parser from the accounting application to the Mia core application. 2020-07-08 07:20:38 +08:00