Test-MockTime-DateCalc sets up Date::Calc to use the Perl-level time function, and in particular get a fake date/time from Test::MockTime. It also works with Time::Fake and similar CORE overrides. See the (5k, html) for more.

Test-MockTime-DateCalc is free software (free as in freedom), published under the terms of the GNU General Public License (v3 or higher).

Download version 7 as just the .pm file, or full source here or from CPAN, or a Debian package here or from my repo. (6k, and sig)
Test-MockTime-DateCalc-7.tar.gz (31k, and sig)
libtest-mocktime-datecalc-perl_7-0.1_all.deb (8k, and sig)

The sig files are Gnu PG ascii armoured signatures generated from my key. There's a SIGNATURE file inside the .tar.gz for cpansign too. Older sources can be found at backpan.

This page Copyright 2009, 2010, 2011, 2013, 2014, 2015, 2016, 2017, 2019, 2020 Kevin Ryde, except for the GPLv3 logo which is Copyright Free Software Foundation and used here in accordance with its terms.

(Back to the sitemap.)