mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
Doctrine FindBy doesn't work with time type #5619
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @fpilee on GitHub (Jul 27, 2017).
Originally assigned to: @Ocramius on GitHub.
Trying to retrieve a entity using findBy
But doctrine returns an empty array
I tried using DateTime with date 1970-01-01 but is the same
@Ocramius commented on GitHub (Jul 28, 2017):
That's usually because of type conversion adding also hours/minutes/seconds.
Can you write a failing test case so we compare it against our development
branch?
On 28 Jul 2017 1:42 AM, "moralesfelipe" notifications@github.com wrote:
Trying to retrieve a entity using findBy
But doctrine returns an empty array
I tried using DateTime with date 1970-01-01 but is the same
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/doctrine/doctrine2/issues/6584, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJakCF4zBgBdLtsMMgCREVps0Y-DQZcks5sSRJigaJpZM4Ol7ct
.
@fpilee commented on GitHub (Jul 28, 2017):
Yes,sorry I haven't check the seconds. That was the issue