btw, SQLField has a default type='string'; a type='date' would have worked too... The default SQLField constructors are on P.138 (and, or course, there's the source too ;-)
On Tue, Dec 9, 2008 at 8:55 AM, annet <[EMAIL PROTECTED]> wrote: > > Thanks, that solved my problem. > > Another question though: > > I use the calendar.js and calendar.css that come with web2py, when the > visitor selects a date and when the events are displayed, the date > format is %Y-%m-%d, whereas the visitor expects a date in the > following format: %d-%m-%Y. I created a translation file en-en.py: > > { > '%Y-%m-%d':'%d-%m-%Y', > } > > But that doesn't perform the translation, what else do I have to do to > translate the date into the desired format. > > > Best regards, > > Annet. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---