Skip to content

Commit

Permalink
pythonbuild: update default time in tar archives to 2024-01-01
Browse files Browse the repository at this point in the history
Let's emit somewhat modern timestamps instead of times from 2021.

The new date is midnight in UTC not midnight in US/Pacific.
  • Loading branch information
indygreg committed Feb 25, 2024
1 parent e9427bd commit 61ace30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pythonbuild/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,8 @@ def extract_zip_to_directory(source: pathlib.Path, dest: pathlib.Path):
zf.extractall(dest)


# 2021-01-01T00:00:00
DEFAULT_MTIME = 1609488000
# 2024-01-01T00:00:00Z
DEFAULT_MTIME = 1704067200


def normalize_tar_archive(data: io.BytesIO) -> io.BytesIO:
Expand Down

0 comments on commit 61ace30

Please sign in to comment.