TimeUtil 리팩토링

This commit is contained in:
Hide_D committed 2018-09-16 04:14:22 +09:00
1 parent 469330f270
commit 35728c7911
32 files changed
+165 -156

No files matched your search

+2 -2
View File
@@ -5,7 +5,7 @@ require(__dir__.'/../vendor/autoload.php');
use \kakao\Kakao_REST_API_Helper as Kakao_REST_API_Helper;
$now = TimeUtil::DatetimeNow();
$now = TimeUtil::now();
$session = Session::requireLogin([
'reason'=>'로그인이 되어있지 않습니다'
@@ -52,7 +52,7 @@ if($nextPasswordChange && $now < $nextPasswordChange){
]);
}
$nextPasswordChange = TimeUtil::DatetimeFromNowHour(4);
$nextPasswordChange = TimeUtil::nowAddHours(4);
$oauthInfo['nextPasswordChange'] = $nextPasswordChange;