pixie icon indicating copy to clipboard operation
pixie copied to clipboard

Handle DateTime objects

Open matthieusieben opened this issue 11 years ago • 4 comments

Would it be possible to handle DateTime objects passed as conditions in where() ?

something like if ($value instanceof \DateTime) $value->format("Y-m-d H:i:s");

matthieusieben avatar Aug 24 '14 18:08 matthieusieben

I am suffering from fever, will look at your issues after I recover.

Thanks :)

usmanhalalit avatar Aug 26 '14 10:08 usmanhalalit

Thanks, will queue for next version.

usmanhalalit avatar Sep 03 '14 09:09 usmanhalalit

+1

neoascetic avatar Feb 09 '15 20:02 neoascetic

I guess this logic also applies to insert statements...

TCB13 avatar Apr 11 '18 13:04 TCB13