Re: From a MySQL datetime field into a $form->generateDateTime() field
ERRATA: Diz wrote: > Hello there! > >dateTimeOptiontag() is a real solution, but, still, it has it's own > problems. As you probably know 'datetime' in MySQL has a 'Y-m-d H:i:s' > pattern, and dateTimeOptiontag() returns only 'Y-m-d H:i' (if set on > 24-hour cycle) or 'Y-m-d H:i a' (if set on 12-hour cycle). >I would like that the development team to reconsider the use and > design of this function because working with datetime is necesary. > > Thanks, Diz! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Re: From a MySQL datetime field into a $form->generateDateTime() field
Hello there! generateDateTime() is a real solution, but, still, it has it's own problems. As you probably know 'datetime' in MySQL has a 'Y-m-d H:i:s' pattern, and generateDateTime() returns only 'Y-m-d H:i' (if set on 24-hour cycle) or 'Y-m-d H:i a' (if set on 12-hour cycle). I would like that the development team to reconsider the use and design of this function because working with datetime is necesary. Thanks, Diz! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
From a MySQL datetime field into a $form->generateDateTime() field
I have a table with a datetime field. The generateDateTime() isn't the prettiest, but it's prettier than if I built something and will provide until I set up something more permanent. The problem is, I don't know of a Cake-ized way of pulling a datetime into a generateDateTime(). ideas? suggestions? or do I gotta parse and pizzle the sucker? Thanks! -Toby --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---