Skip to content

Commit

Permalink
Use created_at for better sync with the release date
Browse files Browse the repository at this point in the history
  • Loading branch information
kwankyu committed Nov 30, 2024
1 parent fa00823 commit 854c9c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/create_changelog.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def get_release_date(release_data):
Returns:
str: Formatted date of release (YYYY-MM-DD) or 'Unavailable' if no date is found.
"""
date_time = release_data.get('published_at', '')
date_time = release_data.get('created_at', '')
if not date_time:
return 'Unavailable'
return date_time.split('T')[0]
Expand Down

0 comments on commit 854c9c3

Please sign in to comment.