Issue
I'm using the HTML5 <input type="date">
, which in Chrome renders a rich input control displaying the date in the format MM/DD/YYYY
. The problem is that my application expects input in a localized format server-side, which means MM.DD.YYYY
.
Is there any way I can change the way Chrome renders and takes input from date controls?
Solution
Chrome renders the date on the format for the language configured in Settings > Language:
Chrome (and other browsers) always post dates in RFC 3339-format according to the HTML5 standard. Make sure the server accepts date on that format only.
Answered By - Nilzor
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.