Update moment.js and add timezone in template

This commit is contained in:
Frederic Guillot
2015-02-08 17:37:13 -05:00
parent 92509c43c4
commit d634a53e9c
7 changed files with 42 additions and 13 deletions

View File

@@ -25,7 +25,11 @@
<title><?= isset($title) ? $this->e($title) : 'Kanboard' ?></title>
</head>
<body data-status-url="<?= $this->u('app', 'status') ?>" data-login-url="<?= $this->u('user', 'login') ?>" data-js-lang="<?= $this->jsLang() ?>">
<body data-status-url="<?= $this->u('app', 'status') ?>"
data-login-url="<?= $this->u('user', 'login') ?>"
data-timezone="<?= $this->getTimezone() ?>"
data-js-lang="<?= $this->jsLang() ?>">
<?php if (isset($no_layout) && $no_layout): ?>
<?= $content_for_layout ?>
<?php else: ?>