On Wed, 11 Jun 2003, Tim Bunce wrote: > And I'll repeat my (carefully worded) statement that "A single > regex could handle all formats that follow the ISO 8601 general > left-to-right decreasing resolution style, with assorted optional > punctuation, plus optional appended TZ."
In fact, this'd be pretty much what Date::Parse does ;) > I'm assuming here that a DateTime::Format::Common module should > only support four digit years. If you need two digit years then use > a specific date parser module. Ben, I'd recommend taking a look at this for writing DT::F::Common. A module that parsed Date::Manip stuff would be called DT::F::Complex or something like that. The Date::Parse stuff is much more useful for most people though. In fact, DT::F::Common could probably just wrap around Date::Parse, or alternately, just rip the guts out and stuff it in a new module. > The DateTime::Format::Common should be *small and fast*. Just like Date::Parse ;) -dave /*======================= House Absolute Consulting www.houseabsolute.com =======================*/
