The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Data::Printer::Filter::DateTime - pretty-printing date and time objects (not just DateTime!)

SYNOPSIS

In your program:

  use Data::Printer {
      filters => [ 'DateTime' ],
  };

or, in your .dataprinter file:

  {
      filters => [ 'DateTime' ],
  };

You can also setup color and display:

  use Data::Printer {
      filters => [ 'DateTime' ],
      color   => {
          datetime => 'bright_green',
      }
      datetime => {
          show_class_name => 1,  # default is 0
      },
  };

DESCRIPTION

This 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

If you have any suggestions for more modules or better output, please let us know.

SEE ALSO

Data::Printer