How to detect the browser's format for input[type=date]
问题 Using Javascript, how would it be possible to detect the format of dates in date input fields (input[type=date])? Tools like Modernizr only detect the capability of using an HTML5 datepicker (desirable especially for mobile devices, and their UI for selecting dates). However, I haven't been able to find any solution on detecting the format used by the browser. I have an input field like this: <input type="date" class="border-radius" min="2013-12-21" max="2015-12-20" data-persist-local=