X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/cafeaa310010bf6d4a91f592e98227b89892a3c8..db25f950841ee874795d4b9605f8ae2347aaf4f1:/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());