diff options
| author | Terry Truong <terry06890@gmail.com> | 2022-12-18 20:26:07 +1100 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2022-12-18 20:26:07 +1100 |
| commit | fac881d61176f04a4062db710df98924a76b0ffb (patch) | |
| tree | 6c55c0f100668888a31dc54daa24d9d794bdba76 /backend | |
| parent | 83366605d1bd43c245c4c110fadfd1a6fd05d3c2 (diff) | |
Add unit testing
Install vitest, happy-dom, and @testing-library/vue
Add lib.ts and rbtree.ts tests in tests/
Modularise some date-range-managing code from App.vue into lib.ts
Diffstat (limited to 'backend')
| -rwxr-xr-x | backend/histplorer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/histplorer.py b/backend/histplorer.py index 9f9e8ad..2c23b8e 100755 --- a/backend/histplorer.py +++ b/backend/histplorer.py @@ -41,7 +41,7 @@ class HistDate: - 'month' and 'day' are at least 1, if given - 'gcal' may be: - True: Indicates a Gregorian calendar date - - False: Means the date should be converted and displayed as a Julian calendar date + - False: Means the date should, for display, be converted to a Julian calendar date - None: 'month' and 'day' are 1 (used for dates before the Julian period starting year 4713 BCE) """ def __init__(self, gcal: bool | None, year: int, month=1, day=1): |
