1

Correction de la recherche

This commit is contained in:
2026-03-29 11:32:22 +02:00
parent ecc25fe7cf
commit afbfa131af
2 changed files with 6 additions and 2 deletions

View File

@@ -327,7 +327,11 @@ function buildDateInfo(rawDate) {
}; };
} }
const match = rawDate.trim().match(/^(\d{4})-(\d{2})-(\d{2})(?:\s+\d{2}:\d{2}(?::\d{2})?)?$/); const match = rawDate
.trim()
.match(
/^(\d{4})-(\d{2})-(\d{2})(?:(?:\s+|T)\d{2}:\d{2}(?::\d{2})?(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?$/
);
if (match === null) { if (match === null) {
return { return {
datetime: "", datetime: "",

View File

@@ -1,4 +1,4 @@
generatedAt: '2026-03-29 01:43:52' generatedAt: '2026-03-29 11:30:18'
deadLinks: deadLinks:
- url: https://www.deviantart.com/abelov2014/art/Gryposaurus-Brachylophosaurus-Zuul-791361398, - url: https://www.deviantart.com/abelov2014/art/Gryposaurus-Brachylophosaurus-Zuul-791361398,
locations: locations: