Skip to content

Commit 1a18ecd

Browse files
breadlesscodekdambekalns
authored andcommitted
fix: convert all DateTime instances to string
1 parent b649dab commit 1a18ecd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Classes/Eel/ElasticSearchQueryBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1054,7 +1054,7 @@ protected function convertValue($value)
10541054
return $value->getIdentifier();
10551055
}
10561056

1057-
if ($value instanceof \DateTime) {
1057+
if ($value instanceof \DateTimeInterface) {
10581058
return $value->format('Y-m-d\TH:i:sP');
10591059
}
10601060

0 commit comments

Comments
 (0)