I noticed recently that the calendar does not appear in the Firefox browser (input type = "date"), made such a crutch:
if (!Modernizr.inputtypes.datetime) { $('input[type="date"]').datepicker(); }; But I immediately ran into a problem, now when I select a date, it is displayed in an input in the American format, how to make it appear in the dd.mm.yyyy format?