Skip to content

todolists: include last_modified in template#574

Merged
jelly merged 2 commits into
archlinux:masterfrom
polyzen:todo-template-last_modified
Jul 13, 2025
Merged

todolists: include last_modified in template#574
jelly merged 2 commits into
archlinux:masterfrom
polyzen:todo-template-last_modified

Conversation

@polyzen
Copy link
Copy Markdown
Member

@polyzen polyzen commented Jul 10, 2025

No description provided.

The page is only accessible if you're logged in.
@polyzen polyzen changed the title todolists: Include last_modified in template todolists: include last_modified in template Jul 10, 2025
@polyzen
Copy link
Copy Markdown
Member Author

polyzen commented Jul 11, 2025

image

Copy link
Copy Markdown
Member

@jelly jelly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

<td>
{% if pkg.user %}
{% if user.is_authenticated %}
{{ pkg.user }} <span title="{{ pkg.last_modified|timezone:user.userprofile.time_zone|date:"Y-m-d H:i T" }}">({{ pkg.last_modified|naturaltime }})</span>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had to check if the timezone would be set, but the default is UTC so 👍

@jelly jelly merged commit 0180242 into archlinux:master Jul 13, 2025
1 check passed
@polyzen polyzen deleted the todo-template-last_modified branch July 13, 2025 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants