Commit bd5a24b
authored
Use tzinfo in time constructor instead of astime for iot devices (python-kasa#1158)
Fixes using `astime` on a non tzinfo aware object which causes issues with daylight saving.1 parent 7c1686d commit bd5a24b
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | | - | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
0 commit comments