The logic for DateTimeOffsets can encounter an indexing error when a date format does not have `datetime_type` set but is also not a timestamp. An example is an aggregated date field.
1. Add an aggregated date field to the index that includes a date field not stored in timestamp format. Select `Date Time offset` as the type.
2. Attempt to run an index.
Items indexed successfully with date field populated.
Error is encountered at `createFromTimestamp` as date might not be a timestamp value.
Add a generic `strtotime` conversion in case a value is not a timestamp but also does not have `datetime_type` available in field settings.
Needs review
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
No activities found.