Commit 37a2db2
committed
Fix deprecation of "datetime.utcfromoffset()"
Although it's not recommended, we still use a naive datetime for UTC
time (to calculate the local offset). I'm sure there's a more elegant
solution, but as this is code for old, untestable platforms, I'd
rather not radically change the implementation.1 parent f1e94ab commit 37a2db2
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
98 | 100 | | |
99 | 101 | | |
100 | 102 | | |
| |||
0 commit comments