Data::P...DateTime(3)
π¦ Data::P...DateTime(3) β Data::Printer::Filter::DateTime, bestie edition
okay so picture this: it's a User Contributed Perl Documentation page, the vibes are immaculate, and the module is literally called Data::Printer::Filter::DateTime β¨ β it pretty-prints date and time objects. and not just DateTime! not even close, bestie π
πΈ NAME πΈ
Data::Printer::Filter::DateTime β pretty-printing date and time objects. and no, it's not just DateTime! it handles a whole friend group of them π«Ά
β¨ SYNOPSIS β¨
so first things first: you drop this into your .dataprinter file β like this, exactly:
filters = DateTime
and that's the whole setup. slay. π
you can also customize the look and feel with the following options (defaults shown β these are the defaults fr fr):
filter_datetime.show_class_name = 1
filter_datetime.show_timezone = 0
# you can even customize your themes:
colors.datetime = #cc7a23
and yes, you can even customize your themes β colors.datetime = #cc7a23 is giving main character energy π§
that's it! genuinely. that's the whole thing. periodt. π
π DESCRIPTION π
okay so this is a filter plugin for Data::Printer, right? it filters through several date and time manipulation classes and displays the time (or time duration) as a string. literally that simple, no cap π
π Parsed Modules
here's the full roster β every single one, no skips:
Time::Piece,Time::SecondsβTime::MomentDateTime,DateTime::Duration,DateTime::Incomplete,DateTime::TimeZoneπDateTime::TinyDateDate::TinyDate::Calc::ObjectDate::Handler,Date::Handler::DeltaDate::SimpleMojo::DateClass::Date,Class::Date::RelDate::Manip
if you have any suggestions for more modules or better output, please let us know π β we're literally always down to hear it π
π₯ SEE ALSO π₯
Data::Printerβ the one that started it all π
and that's the page!! mwah π
this lil beauty is perl v5.42.0, dated 2024-01-23, filed under Data::P...DateTime(3) β go forth and pretty-print your timestamps, bestie π¦πΈπ
π¦ where this page comes from
- opensuse-leap 16.0: perl-Data-Printer 1.002001-bp160.1.11 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms