Skip to content

Commit 4991490

Browse files
Update zipfile.rst
Co-authored-by: Emma Smith <emma@emmatyping.dev>
1 parent 5afd441 commit 4991490

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Doc/library/zipfile.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,8 @@ Instances have the following methods and attributes:
848848
1980. While some extra field formats (such as UNIX timestamps) can represent
849849
earlier dates, this attribute only returns the central directory timestamp.
850850

851-
CPython interprets this timestamp as representing local time, not UTC.
851+
The central directory timestamp is interpreted as representing local
852+
time, rather than UTC time, to match the behavior of other zip tools.
852853

853854

854855
.. attribute:: ZipInfo.compress_type

0 commit comments

Comments
 (0)