We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 78c1047 + 75fc51b commit db28c43Copy full SHA for db28c43
1 file changed
src/EventSubscriber/ContentTypePersister.php
@@ -93,7 +93,7 @@ private function setContentFields(Content $content, Form $form, PostSubmitEvent
93
}
94
95
if ($value instanceof \DateTimeInterface) {
96
- $value = Carbon::createFromInterface($value);
+ $value = Carbon::instance($value);
97
98
99
$value = (string) $value;
0 commit comments