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