Opened 15 years ago

Last modified 12 years ago

#3007 closed task refactor — at Version 1

Reported by: Adam Peller Owned by: Adam Peller
Priority: high Milestone: 0.9beta
Component: Date Version: 0.4.2
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by Adam Peller)

implement to/fromIsoString() methods

add references to spec on the 'net (likely some subset of 8601) AND provide a link. Maybe:


move other code out to dojox or remove entirely

create the RegExp? objects as constants in the class, or at least do it only once. If someone is using Iso8601 dates a lot, they're going to pay to recompile that regex every time, which seems silly. One pattern might be: = function(/*String*/dateObject, /*String*/formattedString){

var regexp = (this._setIso8601DateRE
(this._setIso8601DateRE = (...create the regex...)));

Change History (1)

comment:1 Changed 15 years ago by Adam Peller

Description: modified (diff)
Status: newassigned
Note: See TracTickets for help on using tickets.