Skip to content

Commit

Permalink
corrected datetime printing
Browse files Browse the repository at this point in the history
  • Loading branch information
bernd-mueller committed Sep 24, 2024
1 parent 5458b48 commit d03dffd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/profile_generation_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,9 +331,7 @@ def generate_spec_info(g, path_changed_file):
spec_info["version"] = arg.split("/")[-1].split(".json")[0].split("v")[-1]

spec_info["version_date"] = (
str(datetime.datetime.now().date().year)
+ str(datetime.datetime.now().date().month)
+ str(datetime.datetime.now().date().day)
str(datetime.today().strftime('%Y%m%d'))
+ "T"
+ str(datetime.datetime.now().time().hour)
+ str(datetime.datetime.now().time().minute)
Expand Down

0 comments on commit d03dffd

Please sign in to comment.