Benjamin Smith wrote:
> On Fri, May 26, 2006 at 10:07:22PM +0200, A. Pagaltzis wrote:
>> Hi Ron,
>>
>> * Ron Blaschke <[EMAIL PROTECTED]> [2006-05-26 22:00]:
>>> I'm thinking about writing an ISO 8601 module, and would like
>>> to know if you guys would consider it useful.
>> see HTTP::Date.
> 
> There's not just that; if you enter 'ISO8601' into search.cpan.org,
> one immediately finds Datetime::Format::ISO8601 and Date::ISO8601.
> 
> Is there some problem with all three of these?  Could one of them be
> improved to meet your needs?

I have looked at both.  DateTime::Format::ISO8601 feels rather
heavyweight, with dependencies on DateTime and
DateTime::Format::Builder, and seems to be able to parse, but not format.

Unless I got something wrong, Date::ISO8601 can format dates, but can't
handle time or parse.

There is another one, Date::ISO, which seems also be intended for dates,
too.

HTTP::Date would have been the best fit for what I needed recently; if
only I had known it's there.  I needed simple time <-> ISO8601
conversion for timestamps, with ActiveState's distribution installed on
Windows, without being able to install additional modules - though being
able to co-locate them with my program.  libwww-perl would even have
been bundled with ActiveState's distro.

Ron

Reply via email to