This seems to be a bug introduced from my patch.  Without looking back
at all the code and tests, assuming this is in fact where the issue
lies, then I did not test to be sure that the FormHelper was passing a
value of 'empty'.  I'll try to look at this later, but if I don't have
time, the ticket/patch can be found here:
https://trac.cakephp.org/changeset/7782


On Apr 7, 7:18 am, John Andersen <[email protected]> wrote:
> In CakePHP the file cake\libs\model\model.php sets the value to NULL,
> if ($type == 'time' && $date == '00:00:00')
>
> If you can live with it, just save the time as usually plus 1 second,
> that is 00:00:01 :)
> Enjoy,
>    John
>
> On Apr 7, 3:39 am, webminster <[email protected]> wrote:
>
>
>
> > I have the same issue described in the post 
> > at:http://groups.google.com/group/cake-php/browse_thread/thread/d1b5568d...
>
> > When I try to add a record with time 0:00, it is converted to NULL by
> > Cake, and the insert fails.
> > Is there a workaround for this?
> > Thanks in advance.
> > -Alan- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to