From 53a68e2af96e617b189676c69fdc46e31458b97b Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Sun, 15 May 2022 10:35:15 +0800 Subject: [PATCH] 1 --- third_party/phpcommon | 2 +- webapp/controller/RankingController.class.php | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) 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