diff --git a/.github/workflow_scripts/add_note.py b/.github/workflow_scripts/add_note.py index 06fa8d5..8889089 100644 --- a/.github/workflow_scripts/add_note.py +++ b/.github/workflow_scripts/add_note.py @@ -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 = ""