I check the source code, it use the function   __LZdateToJSON,
I guess it like to be json format.

Why not write your own function to get the format you like.

Best regards
Frank Guo

On 03/21/2012 10:26 PM, [email protected] wrote:
Hi,

there seems to be a non standard convertion of Date types when using
LzDataElement.valueToElement:

If you have an object like that:

var tObject = new Object();
tObject.startTime = new Date()

LzDataElement.valueToElement(tObject);

the resulting XML produced by LzDataElement looks like that:
2012-03-22T15:00:00.000Z

While actually the correct would be (in my time zone GMT+1):
2012-03-22T06:00:00.769+01:00

=>  this seems to be like the standard conversion XML format for date/time.
Why did you prefer using UTC in those timestamps?

Sebastian

Reply via email to