Skip to content

Commit

Permalink
feat: add link for myzjunotices
Browse files Browse the repository at this point in the history
  • Loading branch information
geniucker-dev committed May 13, 2024
1 parent 9b8becf commit 4e58e5c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ def get_myZJU_notices():
fe = fg.add_entry()
fe.id(item.title)
fe.title(item.title)
fe.link(href=item.link, rel="alternate")
fe.updated(item.date.replace(tzinfo=datetime.timezone(datetime.timedelta(hours=8))))
fe.content(item.content)

Expand Down

0 comments on commit 4e58e5c

Please sign in to comment.