We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74893d6 commit db7cc90Copy full SHA for db7cc90
src/Fieldtypes/Date.php
@@ -349,7 +349,7 @@ public function toQueryableValue($value)
349
private function parseSaved($value)
350
{
351
try {
352
- return Carbon::createFromFormat($this->saveFormat(), $value);
+ return Carbon::createFromFormat($this->saveFormat(), $value, 'UTC');
353
} catch (InvalidFormatException|InvalidArgumentException $e) {
354
return Carbon::parse($value);
355
}
0 commit comments