aboutsummaryrefslogtreecommitdiff
path: root/backend/hist_data/cal.py
AgeCommit message (Collapse)Author
2023-01-21Adjust backend coding styleTerry Truong
Increase line spacing, add section comments, etc
2023-01-04Add 'unit' column to event_disp tableTerry Truong
Use 'unit' to narrow search of 'event_disp' values Simplify SQL queries to use 'unit' instead of 'start' and 'fmt' Fix minor HistDate documentation error
2023-01-04Remove server-side conversion of YearDates >4713 BC to CalDatesTerry Truong
The conversion was originally intended to simply the code. But, as events may span years before and after 4713 BC, the conversion introduces the possibility of having both YearDates and CalDates in the same event, which is unhelpful.
2023-01-02Adjust wikidata event specifiersTerry Truong
Do minor refactors: - Swap fmt=1 and fmt=2 in 'events' table - Make documentation consistently use BC and AD - import argparse at start of scripts
2022-12-29Show event-count data on timelineTerry Truong
Backend: Send event-count data to client in EventResponse instance Fix certain usages of gregorian calendar instead of julian Move HistDate, SCALES, etc, into cal.py Frontend: Make App update a unitCountMaps object using event-count data from server Make TimeLine show visual indication of unit counts Add showEventCounts option to store Update unit tests
2022-10-04Replace jdcal package with cal.pyTerry Truong