HTML::Microformats::Datatype::DateTime::Parser - parse ISO8601 datetimes
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.
Please report any bugs to http://rt.cpan.org/.
HTML::Microformats::Datatype::DateTime, DateTime.
Toby Inkster <tobyink@cpan.org>.
Based on DateTime::Format::ISO8601 by Joshua Hoblitt.
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.
To install HTML::Microformats, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTML::Microformats
CPAN shell
perl -MCPAN -e shell install HTML::Microformats
For more information on module installation, please visit the detailed CPAN module installation guide.