diff options
Diffstat (limited to 'src/report.cc')
-rw-r--r-- | src/report.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/report.cc b/src/report.cc index 267a4a3d..efe162e2 100644 --- a/src/report.cc +++ b/src/report.cc @@ -125,9 +125,9 @@ void report_t::normalize_options(const string& verb) "date>=[" + to_iso_extended_string(*interval.start) + "]"; HANDLER(limit_).on(string("?normalize"), predicate); } - if (! HANDLED(end_) && interval.end) { + if (! HANDLED(end_) && interval.finish) { string predicate = - "date<[" + to_iso_extended_string(*interval.end) + "]"; + "date<[" + to_iso_extended_string(*interval.finish) + "]"; HANDLER(limit_).on(string("?normalize"), predicate); } |