DDC-2003: DateTime conditions in Criteria objects result in errors #2527

Closed
opened 2026-01-22 13:55:57 +01:00 by admin · 2 comments
Owner

Originally created by @doctrinebot on GitHub (Aug 31, 2012).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user josiah:

When using DateTime conditions in Criteria objects an error is thrown because of DateTime to string conversion. This is because the matching method doesn't use the same functionality as the findBy method.

Originally created by @doctrinebot on GitHub (Aug 31, 2012). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user josiah: When using DateTime conditions in Criteria objects an error is thrown because of DateTime to string conversion. This is because the `matching` method doesn't use the same functionality as the `findBy` method.
admin added the Bug label 2026-01-22 13:55:57 +01:00
admin closed this issue 2026-01-22 13:55:58 +01:00
Author
Owner

@doctrinebot commented on GitHub (Aug 31, 2012):

Comment created by josiah:

https://github.com/doctrine/doctrine2/pull/433 - PR

@doctrinebot commented on GitHub (Aug 31, 2012): Comment created by josiah: https://github.com/doctrine/doctrine2/pull/433 - PR
Author
Owner

@doctrinebot commented on GitHub (Sep 17, 2012):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Sep 17, 2012): Issue was closed with resolution "Fixed"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#2527