[Webkit-unassigned] [Bug 133731] New: Forced date format for input of type=date
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jun 11 02:37:30 PDT 2014
https://bugs.webkit.org/show_bug.cgi?id=133731
Summary: Forced date format for input of type=date
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P2
Component: Forms
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: dtrunk90 at gmail.com
The date value interpreted from input[type=date] in the HTTP Request such as GET / POST will be formatted as yyyy-mm-dd.
Why?
It's a task of the server-side how a textfield should be interpreted.
No other browser manipulates any input data before sending to the server.
Example:
Germany - Common date format is dd.mm.yyyy
When setting up a hibernate validator model (Java) which represents the form and adding @DateTimeFormat(pattern="dd.MM.yyyy") to the field I'm facing an error as Chrome manipulates the value.
So I have the choice now: Manipulate the value on all other browsers as well and set the pattern to yyyy-MM-dd or make a workaround for Chrome to stop manipulating that value.
As the value shouldn't be manipulated I'd prefer the second one.
What's the idea behind that manipulation?
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list