This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » eZ Publish 5 Platform » Dates in critera

Dates in critera

Dates in critera

Monday 07 September 2015 3:29:27 am - 1 reply

I use the following criteria,

new Criterion\Field(

I have the issue that this works when using the legacy search backend, but when using solr it does not.  The date format is wrong.  With solr if I just pass the DateTime instance it works.  Should passing a date not alway work passing just the DateTime instead of having to use a different format based on the search backend?

Modified on Monday 07 September 2015 3:44:47 am by Douglas Hammond

Tuesday 08 September 2015 5:01:39 pm

Added issue to Jira


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from