AK/Time+LibWeb/HTML: Fix ISO8601 week conversions

This reimplements conversions between unix date times and ISO8601
weeks. The new algorithms also do not use loops, so they should be
faster.
This commit is contained in:
Glenn Skrzypczak
2025-08-11 09:07:27 +02:00
committed by Tim Flynn
parent ec807d40dd
commit d25d62e74c
Notes: github-actions[bot] 2025-08-14 15:06:36 +00:00
8 changed files with 268 additions and 44 deletions

View File

@@ -33,7 +33,7 @@ email threw exception: InvalidStateError: valueAsNumber: Invalid input type used
password threw exception: InvalidStateError: valueAsNumber: Invalid input type used
date did not throw: 0
month did not throw: 100
week did not throw: 345600000
week did not throw: -259200000
time did not throw: 100
datetime-local did not throw: 100
color threw exception: InvalidStateError: valueAsNumber: Invalid input type used