Make sure all dates are in UTC (#1139)
This commit is contained in:
@@ -147,7 +147,7 @@ class JournalRepository extends Repository implements CacheableInterface
|
||||
$journal->refresh();
|
||||
|
||||
if (!$date) {
|
||||
$date = Carbon::now();
|
||||
$date = Carbon::now('UTC');
|
||||
}
|
||||
|
||||
$credit = $this->getCreditBalanceBetween($date, $journal);
|
||||
|
||||
Reference in New Issue
Block a user