Sean Breckenridge
a7cc89bbfb
tz/via_location.py: update import to fallback
2023-02-16 02:28:08 -08:00
Dima Gerasimov
eae0e1a614
my.time.tz.via_location: provide default (empty) config if user doesn't have time config defined
2022-05-22 16:12:44 +01:00
seanbreckenridge
0ce44bf0d1
doctor: better quick option propogation for stats ( #239 )
...
doctor: better quick option propogation for stats
* use contextmanager for quick stats instead of editing global state
directly
* send quick to lots of stat related functions, so they
could possibly be used without doctor, if someone wanted to
* if a stats function has a 'quick' kwarg, send the value
there as well
* add an option to sort locations in my.time.tz.via_location
2022-05-02 00:13:05 +01:00
seanbreckenridge
2cb836181b
location: add all.py, using takeout/gpslogger/ip ( #237 )
...
* location: add all.py, using takeout/gpslogger/ip, update docs
2022-04-26 21:11:35 +01:00
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
96be32aa51
mypy-friendly compat functions handling
2020-11-01 01:51:10 +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