summaryrefslogtreecommitdiff
path: root/app/Formatter
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-05-07 18:05:33 -0400
committerFrederic Guillot <fred@kanboard.net>2016-05-07 18:05:33 -0400
commit55ee906ba36cf66c3a390c98dde75e241de26e65 (patch)
treeed4e5419bb6254c97d63d6a5cab5ab74536201a0 /app/Formatter
parentaac11a609c58ec8356e1ca479da456876034b06c (diff)
Added support for language LDAP attribute
Diffstat (limited to 'app/Formatter')
-rw-r--r--app/Formatter/TaskCalendarFormatter.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Formatter/TaskCalendarFormatter.php b/app/Formatter/TaskCalendarFormatter.php
index 60b9a062..ca0d5c05 100644
--- a/app/Formatter/TaskCalendarFormatter.php
+++ b/app/Formatter/TaskCalendarFormatter.php
@@ -44,7 +44,7 @@ class TaskCalendarFormatter extends BaseTaskCalendarFormatter implements Formatt
foreach ($this->query->findAll() as $task) {
$events[] = array(
- 'timezoneParam' => $this->config->getCurrentTimezone(),
+ 'timezoneParam' => $this->timezone->getCurrentTimezone(),
'id' => $task['id'],
'title' => t('#%d', $task['id']).' '.$task['title'],
'backgroundColor' => $this->color->getBackgroundColor($task['color_id']),