[Webkit-unassigned] [Bug 239778] New: Datetime-local Field Picker Shows Incorrect Date
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Apr 26 10:59:42 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=239778
Bug ID: 239778
Summary: Datetime-local Field Picker Shows Incorrect Date
Product: WebKit
Version: Safari 15
Hardware: All
OS: macOS 12
Status: NEW
Severity: Normal
Priority: P2
Component: Forms
Assignee: webkit-unassigned at lists.webkit.org
Reporter: me at curtisherbert.com
CC: cdumez at apple.com, wenson_hsieh at apple.com
Created attachment 458380
--> https://bugs.webkit.org/attachment.cgi?id=458380&action=review
Preview of bug
It seems the datetime-local field type has a bug where if the seconds end in :00, when you click into the field and it shows the calendar popup it defaults to Dec 2000 w/ Jan 1 2001 selected. If you use any seconds beyond :00, it works fine.
JSFiddle attached, example uses `<input type="datetime-local" value="2017-05-12T19:30:00" step="1">` to show the error.
https://jsfiddle.net/vwyk05gj/
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220426/a7f98188/attachment.htm>
More information about the webkit-unassigned
mailing list