Skip to content

Commit

Permalink
date fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DominikPeters committed Jan 26, 2025
1 parent 916fe86 commit 24994a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflow_scripts/add_note.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def add_note_to_yaml(paragraph_number, author, text, issue_date, origin):
event = json.load(open(event_file_name))
print(json.dumps(event, indent=2))
issue_body = event['issue']['body']
issue_date = datetime.strptime(event['issue']['created_at'], "%Y-%m-%d").strftime("%Y/%m/%d")
issue_date = datetime.strptime(event['issue']['updated_at'], "%Y-%m-%dT%H:%M:%SZ").strftime("%Y/%m/%d")
paragraph_number, author, text = parse_issue(issue_body)
if author == "_No response_":
author = ""
Expand Down

0 comments on commit 24994a1

Please sign in to comment.