I tried to use this elegant method but now I have this error message: "AttributeError: 'translator' object has no attribute 'forse'"
In the very top of my db.py I wrote: T.forse('ru-ru') And into my languages/ru-ru.py I wrote: '%Y-%m-%d': '%d.%m.%Y' '%Y-%m-%d %H:%M:%S': '%d.%m.%Y %H:%M:%S' What I did wrong? On 14 фев, 17:30, Adi <adnan.smajlo...@gmail.com> wrote: > you can enforce the date format through the language... > > this is how I use it, and I think there is a thread where Massimo explained > it before.... > > in my db.py: > > T.force('en-aa') > > in en-aa.py: > > %Y-%m-%d translate to %b %d, %Y > > and all dates became a new format, display and input fields as well...