DateTi...:Expand(3pm)
π DateTime::Format::Natural::Expand(3pm) π
okay bestie, so this is a page from the User Contributed Perl Documentation manual, and it's a lil module called DateTime::Format::Natural::Expand. she's giving behind-the-scenes gremlin energy β you don't really call her directly, she just does her thing. let's get into it π«Ά
β¨ NAME β¨
DateTime::Format::Natural::Expand β she expands the grammar at runtime, no cap π
πΈ SYNOPSIS πΈ
Please see the DateTime::Format::Natural documentation.
that's it. that's the whole synopsis. fr fr. like, this module is sooo not the main character here β go read DateTime::Format::Natural if you want the actual tea β
π¦ DESCRIPTION π¦
so DateTime::Format::Natural::Expand does exactly one iconic thing: she dynamically expands the grammar at runtime. why, you ask? so that additional time can be parsed. periodt.
that's the whole vibe. she shows up mid-parse, stretches the grammar a lil bit, and now more time expressions can get understood. lowkey iconic of her actually π
π SEE ALSO π
DateTime::Format::Naturalβ the actual star of the show, go say hi π
π AUTHOR π
Steven Schubiger <schubiger@cpan.org> β thank you king, we appreciate you π«‘β¨
π LICENSE π
okay so legally speaking π§: this program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.
and if you wanna read the fine print, see <http://dev.perl.org/licenses/> π
π not me getting emotional over a grammar-expanding module. anyway. she's small, she's helpful, she does her one job flawlessly. we stan π
courtesy of perl v5.40.1, dated 2026-06-07, filed under DateTi...:Expand(3pm) because even the man page title decided to be mysterious about it ππ bye bestie, go parse some time!
π¦ where this page comes from
- ubuntu stonking: libdatetime-format-natural-perl 1.27-1 Β· 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