From 049ece6c7289769ea807bcfc1d8f8ebffebda63b Mon Sep 17 00:00:00 2001 From: Dmitry Astapov Date: Tue, 19 Apr 2011 20:10:30 +0000 Subject: [PATCH] test: effective date of 29 feb should be valid --- tests/effective-date.test | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tests/effective-date.test b/tests/effective-date.test index e93018c7f..9a620ab03 100644 --- a/tests/effective-date.test +++ b/tests/effective-date.test @@ -10,3 +10,15 @@ bin/hledger -f - print --effective b -1 >>>2 +# Effecitve date of 29 Feb on leap year should be valid +bin/hledger -f - print --effective +<<< +2010/2/27=2010/2/29 x + a 1 + b +>>> +2010/02/29 x + a 1 + b -1 + +>>>2