fix: VarTurn60 CutDay
This commit is contained in:
@@ -141,7 +141,7 @@ class VarTurn60
|
||||
//상수 테이블이 이미 13:00에 1월이 되도록 맞춰져 있음.
|
||||
//다만 20:00인 경우 8월이 아니라 9월이 됨 ^^;
|
||||
$newMonth = ($this->turnIdx + static::MonthAdjustOffset) % 12 + 1;
|
||||
[$date, ] = $this->cutTurn($withFraction);
|
||||
[$date, ] = $this->addTurn(-($newMonth - 1))->cutTurn($withFraction);
|
||||
|
||||
$yearPulled = $newMonth > 3;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user