[Lift] Re: How to localize date format in MappedDate

2009-08-18 Thread Jeppe Nejsum Madsen
On Tue, Aug 18, 2009 at 8:58 PM, David Pollak wrote: > You can control this via the newly added LiftRules: Sweet, just what the doctor ordered...thanks /Jeppe --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Lift"

[Lift] Re: How to localize date format in MappedDate

2009-08-18 Thread David Pollak
You can control this via the newly added LiftRules: /** * A function to format a Date... can be replaced by a function that is user-specific */ var formatDate: Date => String = date => date match {case null => LiftRules.formatDate(new Date(0L)) case s => toInternetDate(s)} /** * A function that