On Mar 8, 12:09 pm, "Louis B." <louis.bra...@pixeltex.com> wrote: > Hi there.... > I've some problems with Date properties returned as a string (using > Railo 3.1 and Transfer trunk). > > The property is correctly defined as: > <property name="myDate" type="date" nullable="true" /> > > When I cfdump obj.getMyDate() I get a string returned instead of a > date object. I've tried to write a decorator which in turn returns a > ParseDateTime(getMyDate()). This works, but not for > getPropertyMemento(). It seems that getPropertyMemento() doesn't call > decorator getters. > > Anyone of you know how to get date objects for all date properties > returned?
Why do you need date objects? CF should automatically handle dates for you in almost all cases. Curious where you're seeing issues with the date being a string. -- Before posting questions to the group please read: http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer Try out the new Transfer ORM Custom Google Search: http://www.google.com/cse/home?cx=002375903941309441958:2s7wbd5ocb8 You received this message because you are subscribed to the Google Groups "transfer-dev" group. To post to this group, send email to transfer-dev@googlegroups.com To unsubscribe from this group, send email to transfer-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/transfer-dev?hl=en