summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/report.cc2
1 files changed, 2 insertions, 0 deletions
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_t> date = item.effective_date())
when = *date;
+ else
+ when = item.date();
} else {
when = item.date();
}