From 8c3369b8ab08e9213ae8fc0ed4c86abdd437ee5d Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 6 Feb 2009 22:20:56 -0400 Subject: Fixed the use of --effective when an entry has no especial effective date. --- src/report.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/report.cc b/src/report.cc index 348f75bd..38732bf8 100644 --- a/src/report.cc +++ b/src/report.cc @@ -209,6 +209,8 @@ namespace { if (report.HANDLED(effective)) { if (optional date = item.effective_date()) when = *date; + else + when = item.date(); } else { when = item.date(); } -- cgit v1.2.3