Re: new DateTime::Format module
[email protected] (Dave Rolsky)
| Newsgroups | perl.datetime |
|---|---|
| Message-ID | <[email protected]> |
On Sun, 27 Jul 2008, Flavio S. Glock wrote: > re: > http://search.cpan.org/dist/DateTime-Format-Span/ > > This module seems to handle durations, instead of spans. > How about naming it DateTime::Format::Duration instead? Well, such a module already exists! Daniel, Flavio raises a good point, though. What is the point of your module, and how is it different from DT::F::Duration? As far as localization, I'd prefer to see locale-specific data as part of the DateTime::Locale module itself. In fact, CLDR 1.6 does include a bunch of stuff for formatting spans in a locale-specific way. I haven't integrated that into DT::Locale yet, because I want to figure out how to actually use it. -dave /*========================== VegGuide.Org Your guide to all that's veg ==========================*/