Query: data::printer::filter::datetime
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Data::Printer::Filter::DateTime(3pm) User Contributed Perl Documentation Data::Printer::Filter::DateTime(3pm)NAMEData::Printer::Filter::DateTime - pretty-printing date and time objects (not just DateTime!)SYNOPSISIn your program: use Data::Printer filters => { -external => [ 'DateTime' ], }; or, in your ".dataprinter" file: { filters => { -external => [ 'DateTime' ], }, }; You can also setup color and display details: use Data::Printer filters => { -external => [ 'DateTime' ], }, color => { datetime => 'bright_green', } datetime => { show_class_name => 1, # default is 0 show_timezone => 0, # default is 1 (only works for DateTime objects) }, };DESCRIPTIONThis is a filter plugin for Data::Printer. It filters through several date and time manipulation classes and displays the time (or time duration) as a string. Parsed Modules o DateTime o DateTime::Duration o DateTime::Incomplete o Time::Piece o Date::Handler o Date::Handler::Delta o Date::Calc::Object o Date::Pcalc::Object If you have any suggestions for more modules or better output, please let us know.SEE ALSOData::Printer perl v5.14.2 2011-06-07 Data::Printer::Filter::DateTime(3pm)
Similar Topics in the Unix Linux Community |
---|
merging of files. |
Printer is winning the battle! (for now) |
awk print pattern match line and following lines |
Data/date manipulation |
How to use awk to output such a pattern? |