Chart field name refactor

This commit is contained in:
James Cole
2023-08-01 10:26:26 +02:00
parent 3517452ea1
commit 7c9f7f04b7
4 changed files with 18 additions and 40 deletions

View File

@@ -376,7 +376,7 @@ trait ConvertsDataTypes
{
$result = null;
try {
$result = $this->get($field) ? new Carbon($this->get($field)) : null;
$result = $this->get($field) ? new Carbon($this->get($field), config('app.timezone')) : null;
} catch (InvalidFormatException $e) {
// @ignoreException
}