[Fix] When shifting by hours, shift one day lest
This commit is contained in:
parent
5a05d14bd5
commit
4842adeecf
|
@ -250,6 +250,6 @@ public class PeriodHelper {
|
|||
if (shiftHours < 24)
|
||||
return date;
|
||||
|
||||
return date.plusDays(shiftHours / 24);
|
||||
return date.plusDays((shiftHours / 24) - 1);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue