Details
Description
Graeme:
I believe we use DateFormat.SHORT, can't recall exactly, but .. we should probably support parsing the date back in the same format it was sent. I would raise a JIRA
Cheers
On Sun, Apr 6, 2008 at 12:06 PM, Dierk König <dierk.koenig@canoo.com> wrote:
> I wonder about the line
> <releaseDate>2007-11-27 11:52:53.447</releaseDate> though. How is
> the date format interpreted?
> Is there a conventional format?
> In fact, the example doesn't work for me and I have to do the date
> parsing manually like:
>
> def saveRest = {
> params.myobj.mydate = new MyDateFormat().parse(params.myobj.mydate)
> def myobj = new MyClass(params.myobj)
>
> otherwise I get null for the mydate.
BTW: the docs also need to be more specific about this.
This is being improved in 1.1