summaryrefslogtreecommitdiff
path: root/app/Template/layout.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/layout.php')
-rw-r--r--app/Template/layout.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/Template/layout.php b/app/Template/layout.php
index ebce6ffa..411237cb 100644
--- a/app/Template/layout.php
+++ b/app/Template/layout.php
@@ -48,7 +48,10 @@
data-login-url="<?= $this->url->href('AuthController', 'login') ?>"
data-keyboard-shortcut-url="<?= $this->url->href('DocumentationController', 'shortcuts') ?>"
data-timezone="<?= $this->app->getTimezone() ?>"
- data-js-lang="<?= $this->app->jsLang() ?>">
+ data-js-lang="<?= $this->app->jsLang() ?>"
+ data-js-date-format="<?= $this->app->getJsDateFormat() ?>"
+ data-js-time-format="<?= $this->app->getJsTimeFormat() ?>"
+ >
<?php if (isset($no_layout) && $no_layout): ?>
<?= $content_for_layout ?>