Fix datetime rendering (#4226) (#4227)

This commit is contained in:
jekkos authored and GitHub committed 2025-04-20 18:42:12 +02:00
1 parent 9c963814dd
commit e0cb950083
1 file changed
+1 -1
+1 -1
View File
@@ -5,7 +5,7 @@ $config = config(OSPOS::class)->settings; ?>
var pickerconfig = function(config) {
return $.extend({
format: "<?= dateformat_bootstrap($config['dateformat']) ?>",
format: "<?= dateformat_bootstrap($config['dateformat']) . ' ' . dateformat_bootstrap($config['timeformat'])?>",
<?php
$t = $config['timeformat'];
$m = $t[strlen($t)-1];