Skip to content

Commit

Permalink
Merge branch 'main' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
64knl committed Feb 9, 2024
2 parents 55ddf61 + 2f6d8bd commit 200b40b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Services/Indexer/SearchItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,8 @@ private function toDateString(?DateTime $date): ?string
if ($date === null) {
return null;
}
$date->setTimezone(new \DateTimeZone('UTC'));

return $date->format(DateTime::ATOM);
return $date->format('Y-m-d\TH:i:s.u\Z');
}
}

0 comments on commit 200b40b

Please sign in to comment.