X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/61284ea9e69220c9fc6a537bf0437584b1525367..040c6516659e15f360159859b783e3722e86f370:/WEB-INF/lib/Period.class.php diff --git a/WEB-INF/lib/Period.class.php b/WEB-INF/lib/Period.class.php index 0e901a8d..2d2269e5 100644 --- a/WEB-INF/lib/Period.class.php +++ b/WEB-INF/lib/Period.class.php @@ -69,7 +69,7 @@ class Period { $date_point = new DateAndTime(); // Represents current date. TODO: verify this is needed, as this is server time, not browser today. // TODO: refactoring ongoing down from here. Make code nicer, etc. - $weekStartDay = $user->week_start; + $weekStartDay = $user->getWeekStart(); $this->startDate = new DateAndTime(); $this->startDate->setFormat($date_point->getFormat());