Critical mistake resulting in wrong date

This commit is contained in:
sh-dv 2021-01-25 15:02:04 +00:00 committed by GitHub
parent 1700605b7b
commit 9c99223cb3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -754,7 +754,7 @@ window.BackendCalendarTableView = window.BackendCalendarTableView || {};
$('#select-provider').trigger('change');
// Preselect time
$('#start-datetime').datepicker('setDate', new Date(start.format('YYY/MM/DD HH:mm:ss')));
$('#start-datetime').datepicker('setDate', new Date(start.format('YYYY/MM/DD HH:mm:ss')));
$('#end-datetime').datepicker('setDate', new Date(end.format('YYYY/MM/DD HH:mm:ss')));
return false;