[Dojo-interest] Date Parsing to go with Date Formatting
rickmorrison at gmail.com
Fri Apr 28 09:39:03 MDT 2006
Aaron, it seems to me that if what you're looking for is a round trip, the
ECMA Date object already does that in native code:
var d = new Date();
var s = d.toString();
var d2 = d.parse(s);
assert(d == d2);
I don't really see the value in round-tripping dates in a gadozen string
formats. Any data provider API will most likely store dates in native date
objects or JSON strings, not formatted strings.
> Never mind a user interface, IMO,
> that is beside the point and these functions/methods are just the
IMO, user interaction is *entirely* the point. This is main purpose of this
client-side library, no?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Dojo-interest