summaryrefslogtreecommitdiffstats
path: root/Python/modsupport.c
diff options
context:
space:
mode:
authorPaul Ganssle <pganssle@users.noreply.github.com>2019-08-15 19:08:57 (GMT)
committerGitHub <noreply@github.com>2019-08-15 19:08:57 (GMT)
commit27b38b99b3a154fa5c25cd67fe01fb4fc04604b0 (patch)
tree8e4bb5cc26a8cd5ab8ac8f288d558bf519377c3c /Python/modsupport.c
parent64db5aac6be73b14396bcde1648997e208b5a8da (diff)
downloadcpython-27b38b99b3a154fa5c25cd67fe01fb4fc04604b0.zip
cpython-27b38b99b3a154fa5c25cd67fe01fb4fc04604b0.tar.gz
cpython-27b38b99b3a154fa5c25cd67fe01fb4fc04604b0.tar.bz2
bpo-37642: Update acceptable offsets in timezone (GH-14878) (#15227)
This fixes an inconsistency between the Python and C implementations of the datetime module. The pure python version of the code was not accepting offsets greater than 23:59 but less than 24:00. This is an accidental legacy of the original implementation, which was put in place before tzinfo allowed sub-minute time zone offsets. GH-14878 (cherry picked from commit 92c7e30adf5c81a54d6e5e555a6bdfaa60157a0d)
Diffstat (limited to 'Python/modsupport.c')
0 files changed, 0 insertions, 0 deletions