Skip to content

Commit

Permalink
fix(downloads): remove major version from /downloads/feed.rss (#2630)
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk authored Oct 3, 2024
1 parent 1bfeace commit 46fbea6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions downloads/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ def item_title(self, item: Release) -> str:
return item.name

def item_description(self, item: Release) -> str:
"""Return the release version and release date as the item description."""
return f"Version: {item.version}, Release Date: {item.release_date}"
"""Return the release date as the item description."""
return f"Release date: {item.release_date}"

def item_pubdate(self, item: Release) -> datetime | None:
"""Return the release date as the item publication date."""
Expand Down

0 comments on commit 46fbea6

Please sign in to comment.