summaryrefslogtreecommitdiff
path: root/app/Core/Helper.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-02-08 17:37:13 -0500
committerFrederic Guillot <fred@kanboard.net>2015-02-08 17:37:13 -0500
commitd634a53e9c2c9b5c4dac6c701557f6b69dc06213 (patch)
tree20f40bd7e54a460778b3f47f8162d41319e63665 /app/Core/Helper.php
parent92509c43c452daea115a4f6e99d94bda5538c8f0 (diff)
Update moment.js and add timezone in template
Diffstat (limited to 'app/Core/Helper.php')
-rw-r--r--app/Core/Helper.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/Core/Helper.php b/app/Core/Helper.php
index c3ffe95a..9bbaea57 100644
--- a/app/Core/Helper.php
+++ b/app/Core/Helper.php
@@ -611,6 +611,17 @@ class Helper
}
/**
+ * Get current timezone
+ *
+ * @access public
+ * @return string
+ */
+ public function getTimezone()
+ {
+ return $this->config->getCurrentTimezone();
+ }
+
+ /**
* Get the link to toggle subtask status
*
* @access public