Catmandu::Fix::Date - Catmandu fixes for processing dates
use Catmandu::Fix::Date; # all fix functions are exported by default my $item = { date => '2001-11-09' }; split_date($item, 'date'); # $item == { date => { year => 2001, month => 11, day => 9 } }
Catmandu::Fix::Date includes the following Catmandu::Fix functions for processing dates:
Catmandu::Fix::datetime_format
Catmandu::Fix::timestamp
Catmandu::Fix::start_day
Catmandu::Fix::end_day
Catmandu::Fix::start_week
Catmandu::Fix::end_week
Catmandu::Fix::start_year
Catmandu::Fix::end_year
Catmandu::Fix::split_date
Nicolas Franck, <nicolas.franck at ugent.be>
<nicolas.franck at ugent.be>
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Catmandu::Fix::Date, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catmandu::Fix::Date
CPAN shell
perl -MCPAN -e shell install Catmandu::Fix::Date
For more information on module installation, please visit the detailed CPAN module installation guide.