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 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
