Skip to content
This repository was archived by the owner on Jan 27, 2022. It is now read-only.

Commit 36cc048

Browse files
committed
Fix issue: Carbon casting from timestamp
1 parent 3adcb0c commit 36cc048

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Modest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ protected function castToDates($key, $value)
240240
return $value;
241241
}
242242

243-
return \Carbon\Carbon::create(strtotime($value));
243+
return \Carbon\Carbon::createFromTimestamp(strtotime($value));
244244
}
245245

246246
/**

0 commit comments

Comments
 (0)