Fix datetime rendering (#4226) (#4227)

This commit is contained in:
jekkos
2025-04-20 18:42:12 +02:00
committed by GitHub
parent 9c963814dd
commit e0cb950083

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];