Sean Breckenridge
7493770d4d
core: remove vendorized py37 isoformat code
2022-01-27 19:25:42 +00:00
Dima Gerasimov
dd928964e6
general: fix mypy errors after mypy and pytz stubs updates
...
see 968fd6d01d/stubs/pytz/pytz/tzinfo.pyi (L6)
it says all concrete instances should not be None
2021-12-19 18:53:29 +00:00
Sean Breckenridge
fb49243005
core: add hpi query command ( #157 )
...
- restructure query code for cli, some test fixes
- initial query_range implementation
refactored functions in query some more
to allow re-use in range_range, select()
pretty much just calls out to a bunch
of handlers now
2021-04-06 17:19:58 +01:00
Sean Breckenridge
5ecd4b4810
cleanup; remove unused imports
2021-04-02 08:38:06 +01:00
Dima Gerasimov
571cb48aea
core: add modules_ast for more robust module collection
2020-12-11 07:02:16 +01:00
Dima Gerasimov
3a9e3e080f
my.time.tz: implement different policies for localizing
2020-11-01 01:51:10 +01:00
Dima Gerasimov
96113ad5ae
my.calendar.holidays: unhardcode calendar, detect it from the location data
2020-10-09 23:22:00 +02:00
Dima Gerasimov
35b91a6fa2
timezone provider: add stat(), use cachew (daily resolution)
2020-10-09 22:09:19 +02:00
Dima Gerasimov
dfea664f57
add my.location.home, use it as location/timezone fallback
2020-10-09 22:09:19 +02:00
Dima Gerasimov
1f2e595be9
Initial my.time.tz provider, infer from location with daily resolution
2020-10-09 22:09:19 +02:00