all messages should use iso date for the automatic time stamp and the human written text. First we should focus on the part behind the @. These examples show the current situation: "afk for a while - 2019.09.23 @ 2020/01/26 08:51Z" "Out of the country til 2/7. Emergencies, feel free to touch packages within @ 2020/01/16 00:01Z" Reproducible: Always
https://gitweb.gentoo.org/sites/www.git/tree/_plugins/devaway.rb
If you submit a patch I'll merge it. -A
For a start, we'd have to find where devaway.xml is generated. It would probably also make sense to add the date as an attribute, rather than putting it into <reason/>.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/sites/www.git/commit/?id=50e92f74dbac007c5656f9eef2a34be4f428dd08 commit 50e92f74dbac007c5656f9eef2a34be4f428dd08 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2021-08-26 09:16:17 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2021-08-26 09:17:16 +0000 Explicitly format devaway dates in ISO 8601-ish Closes: https://bugs.gentoo.org/710688 Signed-off-by: Michał Górny <mgorny@gentoo.org> _plugins/devaway.rb | 10 ++++++---- inside-gentoo/developers/index.html | 2 +- inside-gentoo/developers/unavailable-developers.html | 2 +- 3 files changed, 8 insertions(+), 6 deletions(-)
I think this should cover your concerns. We've been parsing the dates anyway, so I've just stripped them from reason and formatted explicitly. The next steps would be to: 1. Add date="" field to the XML. 2. Switch WWW to prefer using the date="" field over parsing date from reason. 3. Remove date from reason in the XML.