The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

HTML::Microformats::Datatype::DateTime::Parser - parse ISO8601 datetimes

DESCRIPTION

This module is a moderately modified version of DateTime::Format::ISO8601.

It allows datetimes to be expressed with a somewhat looser syntax, especially support for whitespace between the date and time instead of a "T". It also calculates the "resolution" of the datetime (e.g. is it specified to year, month, day, hour, minute, second or nanosecond precision) which it places in $dt->{'resolution'}.

Other than that, it can be used exactly as DateTime::Format::ISO8601 can. It parses strings into normal DateTime objects.

BUGS

Please report any bugs to http://rt.cpan.org/.

SEE ALSO

HTML::Microformats::Datatype::DateTime, DateTime.

AUTHOR

Toby Inkster <tobyink@cpan.org>.

Based on DateTime::Format::ISO8601 by Joshua Hoblitt.

COPYRIGHT

Copyright 2003-2005 Joshua Hoblitt

Copyright 2008-2010 Toby Inkster

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.