logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       Toby Inkster <tobyink@cpan.org>.

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

Bugs

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

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.

Disclaimer Of Warranties

       THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT
       LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.

perl v5.32.1                                       2021-09-12             HTML::Microform...ateTime::Parser(3pm)

Name

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

See Also

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

See Also