2009-10-25 20:13:39 |
Nicolas Leroux |
description |
In the template ${myDate.format()} is dependent of the locale
In case of a query, the date parameters are also dependent of the locale.
ie /documents/?fromDate=01-12-2009
We need to add a way to configure that.
Add the following properties in the application.conf file.
date.format=
data.format.fr=
Note that this date format can also be used for the following url (REST resouce):
/documents/11-11-2009/ only if no date format was specified for the binding (but that is another issue).
This issue is linked to the issue #446302
More info here http://groups.google.com/group/play-framework/browse_thread/thread/cb81fb4941a66e52 |
In the template ${myDate.format()} is dependent of the locale
In case of a query, the date parameters are also dependent of the locale.
ie /documents/?fromDate=01-12-2009
We need to add a way to configure that.
Add the following properties in the application.conf file.
date.format=
data.format.fr=
Note that this date format can also be used for the following url (REST resource):
/documents/11-11-2009/ only if no date format was specified for the binding (but that is another issue).
This issue is linked to the issue #446302
More info here http://groups.google.com/group/play-framework/browse_thread/thread/cb81fb4941a66e52
|
|