DBIx::...ateTime(3pm)
π DBIx::...ateTime β User Contributed Perl Documentation π
okay so bestie, buckle up, because we're looking at DBIx::...ateTime(3pm) and it's giving tiny but mighty. This is a DateTime helper for your DBIx::Class schema and honestly? She's lowkey iconic. π
β¨ NAME β¨
DBIx::Class::Helper::Schema::DateTime β it's a DateTime helper, periodt. π°οΈπ
πΈ SYNOPSIS πΈ
here's the vibe, fr fr:
package MyApp::Schema;
__PACKAGE__->load_components('Helper::Schema::DateTime');
...
$schema->resultset('Book')->search({
written_on => $schema->format_datetime(DateTime->now)
});
see how she loads the component and then just casually formats a DateTime->now right into a search? main character energy honestly. π
π¦ AUTHOR π¦
Arthur Axel "fREW" Schmidt <frioux+cpan@gmail.com> β the literal genius behind this. π«Ά
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2024 by Arthur Axel "fREW" Schmidt.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. slay, legally speaking. βοΈβ¨
no cap, that's the whole page. small, cute, does exactly one thing, and does it flawlessly. π
and that's a wrap, bestie π β this was DBIx::...ateTime(3pm) from the User Contributed Perl Documentation, running on perl v5.40.0, dated 2024-11-16. mwah, go format some datetimes ππΈ
π¦ where this page comes from
- debian trixie: libdbix-class-helpers-perl 2.037000-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libdbix-class-helpers-perl 2.037000-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libdbix-class-helpers-perl 2.037000-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