Display local date format in date picker

This commit is contained in:
Frederic Guillot
2016-06-05 22:22:10 -04:00
parent 656f430632
commit 9cb8a1ffc9
6 changed files with 62 additions and 10 deletions

View File

@@ -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 ?>