- Hi Arnaud,
Currently YUI does not have a utility specifically for the conversion
The JSON parser (http://developer.yahoo.com/yui/json/) shipped with YUI
uses the ISO based UTC format "YYYY-MM-DDThh:mm:ssZ" for serialization
NOTE: The JSON.parse(s, filter) method allows you to add you own filter
conversion function when "deserializing" a string which you could use to
parse the above string format back into a Date Object - but it's not
built in. You'd need to write your own filter function (which you could
just as easily invoke directly as opposed to going through JSON.parse).
If you'd like to see built in support for two way ISO 8601 conversion
included in a future release, please file a feature request for it on
SourceForge, and we can evaluate it when drawing out the YUI roadmap.