emfit: patch up timezone for correct local sleep time

This commit is contained in:
Dima Gerasimov 2020-08-21 00:08:55 +01:00 committed by karlicoss
parent d9bbf7cbf0
commit 65781dd152
2 changed files with 23 additions and 4 deletions

View file

@ -18,7 +18,6 @@ def test_tz() -> None:
[s0109] = [s for s in ds if s.date.strftime('%Y%m%d') == '20190109']
assert s0109.end.strftime('%H:%M') == '06:42'
# TODO FIXME ugh, it's broken?...
# summer time, so UTC+1
[s0411] = [s for s in ds if s.date.strftime('%Y%m%d') == '20190411']
assert s0411.end.strftime('%H:%M') == '09:30'