Make sure all dates are in UTC (#1139)

This commit is contained in:
Nabeel S
2021-04-13 09:25:38 -04:00
committed by GitHub
parent 7e9eb08135
commit bfddb2c84d
9 changed files with 16 additions and 13 deletions

View File

@@ -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);