I use the Joda DateTime object (as recommended by SO) mainly on my application's Java server. But I did not understand a very consistent way to return to JavaScript. The Date object described by MDN indicates that “IETF-compliant RFC 1123 timestamps” are the standard format, but my searches did not seem to convert the formatter built into the Joda library to get DateTime in this format.
Is there a simple method I can call to convert a DateTime object to a format that can be used for my web client? Does it support IE8 (in terms of JavaScript)?
* Note . I do not use Spring or anything that does automatic binding (serialization / deserialization), and at the moment this is not an option. I know, I know...
blong source
share