I did some tests now and found this library: https://xdsoft.net/jqplugins/datetimepicker/
On GH: https://github.com/xdan/datetimepicker
This seems to be better solved than the one I suggested before. I have tested it with these settings and it all worked without errors:
I hope this helps
On GH: https://github.com/xdan/datetimepicker
This seems to be better solved than the one I suggested before. I have tested it with these settings and it all worked without errors:
Code:
<script>
$(function() {
$.datetimepicker.setLocale('de');
// DateTimePicker
$('#datetime').datetimepicker({
i18n:{
de:{months:[
'Januar','Februar','März','April',
'Mai','Juni','Juli','August',
'September','Oktober','November','Dezember',
],
dayOfWeek:[
"So.", "Mo", "Di", "Mi",
"Do", "Fr", "Sa.",
]}
},
dayOfWeekStart: 1, // Monday
timepicker: true,
format:'Y-m-d H:i',
step: 5
});
});
</script>
I hope this helps