aboutsummaryrefslogtreecommitdiff
path: root/tests/__init__.py
diff options
context:
space:
mode:
authorKonstantin Ryabitsev <konstantin@linuxfoundation.org>2021-05-12 08:32:11 -0400
committerKonstantin Ryabitsev <konstantin@linuxfoundation.org>2021-05-12 08:32:11 -0400
commite7ceda03356acc9579b50d745e6ab8120cdb677d (patch)
tree0cab6feb3952f3a5515e350859c601f5038c50c5 /tests/__init__.py
parent3f036f9155c3b3098de269afed4ab438989943d4 (diff)
downloadb4-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 'tests/__init__.py')
0 files changed, 0 insertions, 0 deletions