You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The proposed fix is a bad idea. It relies on undocumented .toLocaleDateString() behavior. Comments on that post claim it doesn't work, which is what I would expect. From the ECMAScript 5 standard:
15.9.5.6 Date.prototype.toLocaleDateString ( )
This function returns a String value. The contents of the String are implementation-dependent, but are
intended to represent the ―date‖ portion of the Date in the current time zone in a convenient, human-readable
form that corresponds to the conventions of the host environment‘s current locale. NOTE The first parameter to this function is likely to be used in a future version of this standard; it is recommended
that implementations do not use this parameter position for anything else.
I can't find a good fix for this and would be open to ideas. For now, the best solution is to use dateITA in additional-methods.js.
http://stackoverflow.com/questions/2385474/set-a-locale-in-javascript - i have same problem with all latest browsers Chrome, IE, FF.
there is description and fix (at 2009!):
http://geekswithblogs.net/EltonStoneman/archive/2009/10/29/jquery-date-validation-in-chrome.aspx
Please fix your code :)
10nx!
The text was updated successfully, but these errors were encountered: