From dd88965d3a6cc7d71a3b4b16bbb4a8b954d54cde Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Fri, 21 Oct 2011 00:42:26 -0400 Subject: [PATCH] Unit Tests - The timesheet tests were doing data math wrong. --- test/timesheet.t | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/test/timesheet.t b/test/timesheet.t index 9c1ecbb6c..920402fa6 100755 --- a/test/timesheet.t +++ b/test/timesheet.t @@ -50,23 +50,23 @@ if (open my $fh, '>', 'time.rc') # C0 completed, this week # C1 completed, last week # C2 completed, 2wks ago -my $now = time (); -my $six = $now - 6 * 86_400; -my $twelve = $now - 12 * 86_400; +my $now = time (); +my $seven = $now - 7 * 86_400; +my $fourteen = $now - 14 * 86_400; if (open my $fh, '>', 'pending.data') { print $fh <