Skip to content

Commit 61ace30

Browse files
committed
pythonbuild: update default time in tar archives to 2024-01-01
Let's emit somewhat modern timestamps instead of times from 2021. The new date is midnight in UTC not midnight in US/Pacific.
1 parent e9427bd commit 61ace30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pythonbuild/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,8 +318,8 @@ def extract_zip_to_directory(source: pathlib.Path, dest: pathlib.Path):
318318
zf.extractall(dest)
319319

320320

321-
# 2021-01-01T00:00:00
322-
DEFAULT_MTIME = 1609488000
321+
# 2024-01-01T00:00:00Z
322+
DEFAULT_MTIME = 1704067200
323323

324324

325325
def normalize_tar_archive(data: io.BytesIO) -> io.BytesIO:

0 commit comments

Comments
 (0)