mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 09:45:06 +02:00
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:
committed by
Tim Flynn
parent
ec807d40dd
commit
d25d62e74c
Notes:
github-actions[bot]
2025-08-14 15:06:36 +00:00
Author: https://github.com/skyz1 Commit: https://github.com/LadybirdBrowser/ladybird/commit/d25d62e74c1 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5812 Reviewed-by: https://github.com/gmta Reviewed-by: https://github.com/trflynn89
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user