HTML::...Parser(3pm)
π HTML::...Parser(3pm) β the vibe π
okay so bestie, gather round, because this is the HTML::Microformats::Datatype::DateTime::Parser page (yes that's the manual name, it's giving long, we love her for it) and she is lowkey iconic. πΈ
β¨ NAME β¨
HTML::Microformats::Datatype::DateTime::Parser β it parses ISO8601 datetimes. that's it. that's the whole job. and she does it beautifully. π
π DESCRIPTION π
so here's the tea: this module is a moderately modified version of DateTime::Format::ISO8601. like, a glow-up, not a full rebrand. π¦
the way that it works is it lets datetimes be written with a somewhat looser syntax β and the star of the show is that it supports whitespace between the date and the time instead of a "T". yes bestie, a lil space. so much chiller than that rigid T. no cap.
it also calculates the "resolution" of the datetime, which like β okay, what that means is: is it specified down to the year? the month? the day? the hour? the minute? the second? or even the nanosecond?? π and it drops that lil fact into $dt->{'resolution'}. obsessed.
other than all that, it can be used exactly as DateTime::Format::ISO8601 can. periodt. it parses strings into normal DateTime objects, just like you'd expect. π
π BUGS π
found a bug? pls pls pls report it to <http://rt.cpan.org/>. bestie don't suffer in silence, the maintainers wanna know. π«Ά
π₯ SEE ALSO π₯
HTML::Microformats::Datatype::DateTimeDateTime
iykyk. go read those too. β¨
π AUTHOR π
Toby Inkster <tobyink@cpan.org>.
based on DateTime::Format::ISO8601 by Joshua Hoblitt. giving credit where credit is due, always. π
π COPYRIGHT AND LICENCE π
Copyright 2003-2005 Joshua Hoblitt
Copyright 2008-2012 Toby Inkster
this library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. slay. π
β οΈ 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.
(translation: no promises bestie, use at your own risk, that's the legal vibe π)
and that's the whole page!! π this was perl v5.32.1, dated 2021-09-12, and yeah β the manual name is HTML::...Parser(3pm) in case you forgot, which you didn't, because you read the top. mwah. πβ¨
π¦ where this page comes from
- debian bookworm: libhtml-microformats-perl 0.105-6 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libhtml-microformats-perl 0.105-6 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libhtml-microformats-perl 0.105-6 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libhtml-microformats-perl 0.105-6 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libhtml-microformats-perl 0.105-6 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libhtml-microformats-perl 0.105-6 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms