Skip to content

Commit db7cc90

Browse files
committed
UTC forever
1 parent 74893d6 commit db7cc90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Fieldtypes/Date.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ public function toQueryableValue($value)
349349
private function parseSaved($value)
350350
{
351351
try {
352-
return Carbon::createFromFormat($this->saveFormat(), $value);
352+
return Carbon::createFromFormat($this->saveFormat(), $value, 'UTC');
353353
} catch (InvalidFormatException|InvalidArgumentException $e) {
354354
return Carbon::parse($value);
355355
}

0 commit comments

Comments
 (0)