Fixed bug in datepicker by making it use 24 hour time