mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 09:45:06 +02:00
LibWeb/HTML: Correctly convert number to time/local datetime string
This fixes a bug where non-zero milliseconds were previously not included if the second component was zero.
This commit is contained in:
committed by
Tim Flynn
parent
354fd56046
commit
ec807d40dd
Notes:
github-actions[bot]
2025-08-14 15:06:42 +00:00
Author: https://github.com/skyz1 Commit: https://github.com/LadybirdBrowser/ladybird/commit/ec807d40dd1 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5812 Reviewed-by: https://github.com/gmta Reviewed-by: https://github.com/trflynn89
@@ -34,8 +34,8 @@ password threw exception: InvalidStateError: valueAsNumber: Invalid input type u
|
||||
date did not throw: 0
|
||||
month did not throw: 100
|
||||
week did not throw: 345600000
|
||||
time did not throw: 0
|
||||
datetime-local did not throw: 0
|
||||
time did not throw: 100
|
||||
datetime-local did not throw: 100
|
||||
color threw exception: InvalidStateError: valueAsNumber: Invalid input type used
|
||||
checkbox threw exception: InvalidStateError: valueAsNumber: Invalid input type used
|
||||
radio threw exception: InvalidStateError: valueAsNumber: Invalid input type used
|
||||
|
||||
Reference in New Issue
Block a user