Improve display of news dates #142
Labels
No Label
bug
build
cgi Scripting
design
disruptive
documentation
duplicate
easy
feature-request
help wanted
javascript
priority/low
question
system-hackers
tagging
text
translations
wait/bugfix
wait/inprogress
wait/misc
wait/proofread
wontfix
xsl
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: FSFE/fsfe-website#142
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Listings of tagged news articles appear odd, especially in translated pages.
(transferred from pauls kan board)
Original comment from @max.mehl:
What is this item about specifically? We should separate between news archive, news frontpage, and some general issues like the date localisation.
Regarding the latter, I noted down that @paul had the idea to render all localised dates for 365(+1) days using GNU date, and save them in an XML file.
xsl 2.0 has powerful date formatting capabilities, including language-specific formatting: https://www.oreilly.com/library/view/xslt-2nd-edition/9780596527211/ch04s05.html
Do we actually use XSL 2.0? IIRC we were doomed to use v1 earlier because of some dependency. Is this still the case?
We use XSL 1.0 and looking closer, it seems like switching to 2.0 could turn out to be way harder than I expected. So maybe this is not a good option.