On Tuesday 25 August 2009 02:59:47 pm Lukasz Lenart wrote:
> 2009/8/25 Musachy Barroso <[email protected]>:
> > something changed in the way the dates are formatted I guess.
> >
> > 2008-03-03 vs 2008-03-03T00:00:00
>
> Yeah, I noticed that but I've been thinking it's related to Locale but
> I've tried different combinations.
>
> > I thought it was using the second one already. Maybe you just need to
> > update the tests.
>
> I did that and I'm up-to-date, but still the same. Any other ideas?
>


I'm pretty sure that both of the dates listed above are in the iso8601 format, 
or whatever the iso format is. It is the format that JSON uses to serialize 
dates. The standard for the format allows you to only specify the parts that 
are significant, so 2008-03-03 is as legit as 2008-03-03T00:00:00. But the 
problem is that there is no built-in support in either java or javascript, so 
using it is often a PITA.

-Wes


-- 
Wes Wannemacher

Head Engineer, WanTii, Inc.
Need Training? Struts, Spring, Maven, Tomcat... 
Ask me for a quote!

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to