Skip to content

Commit

Permalink
Merge pull request #664 from amorison/am/tz-aware-timestamp
Browse files Browse the repository at this point in the history
make creation_date timezone-aware
  • Loading branch information
ZedThree authored Oct 1, 2024
2 parents f8a8a04 + f399066 commit 96f3e23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ford/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ def parse_arguments(

proj_data.normalise_paths(directory)

proj_data.creation_date = datetime.now().strftime(proj_data.creation_date)
proj_data.creation_date = datetime.now().astimezone().strftime(proj_data.creation_date)

# Make sure no src_dir is contained within output_dir
for srcdir in proj_data.src_dir:
Expand Down

0 comments on commit 96f3e23

Please sign in to comment.