mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
feat: add timezone to datetime display across the board
- the "Flagged Out-of-date on ..." link in the package action panel does not contain a timezone specifier. Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
e777b7052e
commit
1545eab81d
15 changed files with 47 additions and 41 deletions
|
@ -21,7 +21,7 @@
|
|||
"following reason:"
|
||||
| tr | format("<strong>", username, "</strong>",
|
||||
"<strong>", pkgbase.Name, "</strong>",
|
||||
"<strong>", flagged_at.strftime("%Y-%m-%d"), "</strong>")
|
||||
"<strong>", date_display(pkgbase.OutOfDateTS), "</strong>")
|
||||
| safe
|
||||
}}
|
||||
</p>
|
||||
|
|
|
@ -17,8 +17,7 @@
|
|||
{{ pkg_vote.User.Username }}
|
||||
</a>
|
||||
|
||||
{% set voted_at = pkg_vote.VoteTS | dt | as_timezone(timezone) %}
|
||||
({{ voted_at.strftime("%Y-%m-%d %H:%M") }})
|
||||
({{ datetime_display(pkg_vote.VoteTS) }})
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue