diff --git a/third_party/phpcommon b/third_party/phpcommon index 56e3e787..45ba05bc 160000 --- a/third_party/phpcommon +++ b/third_party/phpcommon @@ -1 +1 @@ -Subproject commit 56e3e7871953b97a0af9c47dbb1ca54d0f807407 +Subproject commit 45ba05bcd0e3a8923943d358d1d77b2c1376380c diff --git a/webapp/controller/RankingController.class.php b/webapp/controller/RankingController.class.php index 833e055a..e70af74b 100644 --- a/webapp/controller/RankingController.class.php +++ b/webapp/controller/RankingController.class.php @@ -133,7 +133,14 @@ class RankingController extends BaseAuthedController { } } } + $timeZone = 8; $rankingData = array( + /*'daySeconds' => phpcommon\getdayseconds(myself()->_getNowTime(), $timeZone), + 'nextDaySeconds' => phpcommon\getNextDaySeconds(myself()->_getNowTime(), $timeZone), + 'mondaySeconds' => phpcommon\getMondaySeconds(myself()->_getNowTime(), $timeZone), + 'monthFirstDaySeconds' => phpcommon\getThisMonthFirstDaySeconds(myself()->_getNowTime(), $timeZone), + 'nextMonthFirstDaySeconds' => phpcommon\getNextMonthFirstDaySeconds(myself()->_getNowTime(), $timeZone), + 'yearFirstDaySeconds' => phpcommon\getThisYearFirstDaySeconds(myself()->_getNowTime(), $timeZone),*/ 'type' => $type, 'rows' => $rankingList, 'my_ranked' => $myRanked