From a2cc09715f0d398e9c47e7ea4ddbdd14be0ce2ec Mon Sep 17 00:00:00 2001 From: Ian Young Date: Wed, 1 Jun 2011 08:37:53 +0000 Subject: [PATCH] Fix the month generator so that it includes the first day of the current month even if called on that day. --- charting/Months.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charting/Months.pm b/charting/Months.pm index 98c0712e..86e605d7 100755 --- a/charting/Months.pm +++ b/charting/Months.pm @@ -13,7 +13,7 @@ $date = new Date::Manip::Date; $date->parse_date('2006-12-01') && die('could not parse base date'); $now = new Date::Manip::Date; -$now->parse('today') && die('could not parse today'); +$now->parse('now') && die('could not parse now'); $oneMonth = new Date::Manip::Delta; $oneMonth->parse("1 month") && die('could not parse delta');