changed types to datetime-local(works with fullcalendar better)