Using datepicker when adding an event inserts date in wrong format

Using the datepicker will fill in the date in dd-mm-yyyy format while the admin only accepts yyyy-mm-dd.

ss+_2018-01-14+at+09.11.56_