From a299f0521d906bcc876e9ea02e73afd5cb538794 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 22 Jan 2017 21:08:46 +0100 Subject: [PATCH] Fixing json serialization and reporter --- Theme/Backend/calendar-dashboard.tpl.php | 2 +- Theme/backend/calendar-dashboard.tpl.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Theme/Backend/calendar-dashboard.tpl.php b/Theme/Backend/calendar-dashboard.tpl.php index 2c21033..3f4ad3b 100644 --- a/Theme/Backend/calendar-dashboard.tpl.php +++ b/Theme/Backend/calendar-dashboard.tpl.php @@ -23,7 +23,7 @@ $calendar = $this->getData('calendar'); getDate()->getFirstDayOfMonth() <= $i*7+$j+1 && $calendar->getDate()->getDaysOfMonth() >= $i*7+$j+1) { echo ($i*7+$j+1) . ' ' . jddayofweek($j, 1); } else { - echo (($i*7+$j+1)-$calendar->getDate()->getDaysOfMonth()) . ' ' . jddayofweek($j, 1); + echo $current->createModify(0, 0, -2)->format('d') . ' ' . jddayofweek($j, 1); } ?>