Fix date field for mobile devices