Anki/rslib/src/sync
Damien Elmes fbd91b22f5 tidy up UTC offset handling/timing calculations
- use the TimestampSecs newtype instead of raw i64s
- use FixedOffset instead of a minutes_west offset
- check localOffset each time the timing is calculated, and set it
if it's stale - even for v1.
- check for and fix missing rollover when calculating timing
- stop explicitly passing localOffset in the sync/start call
2021-01-12 21:32:56 +10:00
..
http.rs tidy up UTC offset handling/timing calculations 2021-01-12 21:32:56 +10:00
http_client.rs tidy up UTC offset handling/timing calculations 2021-01-12 21:32:56 +10:00
mod.rs tidy up UTC offset handling/timing calculations 2021-01-12 21:32:56 +10:00
server.rs tidy up UTC offset handling/timing calculations 2021-01-12 21:32:56 +10:00