diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2021-05-12 08:32:11 -0400 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2021-05-12 08:32:11 -0400 |
commit | e7ceda03356acc9579b50d745e6ab8120cdb677d (patch) | |
tree | 0cab6feb3952f3a5515e350859c601f5038c50c5 /COPYING | |
parent | 3f036f9155c3b3098de269afed4ab438989943d4 (diff) | |
download | b4-e7ceda03356acc9579b50d745e6ab8120cdb677d.tar.gz |
Force datetime to UTC if it's native
We always want the datetime object to be tz-aware, but certain Date:
header formats result in timezone-naive variants. For those cases, just
pretend it's UTC, as that's sufficiently accurate for our purposes.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions