James Cole
2023-01-06 21:12:10 +01:00
parent 770d092e93
commit 9fdaf1cee8
2 changed files with 10 additions and 2 deletions

View File

@@ -236,7 +236,7 @@ trait ConvertsDataTypes
}
$carbon = null;
try {
$carbon = new Carbon($string);
$carbon = new Carbon($string, config('app.timezone'));
} catch (InvalidFormatException $e) {
// @ignoreException
}