Derek Chen-Becker <[email protected]> writes:

> It should be working currently with more than Strings. The definition of
> setFromAny is:
>
> override def setFromAny(f : Any): Date = toDate(f).map(d =>
> this.set(d)).openOr(this.is)

This, I think, is from MappedTime. MappedDate (& MappedDateTime) is:

override def setFromAny(f : Any): Date = f match {
    case s: String => LiftRules.parseDate(s).map(d => 
this.set(d)).openOr(this.is)
    case (s: String) :: _ => LiftRules.parseDate(s).map(d => 
this.set(d)).openOr(this.is)
    case _ => this.is
}

> Is it not working for you?

I think it would if it was in MappedDate ;-)

/Jeppe


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" 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/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to