I´m using the date helper in one of my edit views. when having a new
record the helper is correctly populated with the current date. but
when i call the page with an existing record i want to edit the
datefields don´t get populated. i´m only using DMY as i don´t need
the time fields.
my view:
<?php echo $html->dateTimeOptionTag('Invoice/date','DMY',0) ?>
the date field in data.:
$this->data['Invoice']['date'] = 2006-05-12
do i have to do some other conversion before rendering the view or am i
missing some basics?
thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---