Fixed the use of --effective when an entry has no especial effective date.
This commit is contained in:
parent
182d5df307
commit
8c3369b8ab
1 changed files with 2 additions and 0 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue