summaryrefslogtreecommitdiff
path: root/src/times.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-06-20 20:17:01 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-06-20 20:29:56 -0400
commitd15bb66ee417c9b84cb8881cd8dd1c4e0d28bf0e (patch)
treef66178fce01634d3f49456155809761259ea8d87 /src/times.cc
parentc5714a81e39bf93a35020a31e6655c0eca5405f9 (diff)
downloadfork-ledger-d15bb66ee417c9b84cb8881cd8dd1c4e0d28bf0e.tar.gz
fork-ledger-d15bb66ee417c9b84cb8881cd8dd1c4e0d28bf0e.tar.bz2
fork-ledger-d15bb66ee417c9b84cb8881cd8dd1c4e0d28bf0e.zip
Added missing call to resolve_end() in find_period
Diffstat (limited to 'src/times.cc')
-rw-r--r--src/times.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/times.cc b/src/times.cc
index 72e26b91..d84cb238 100644
--- a/src/times.cc
+++ b/src/times.cc
@@ -1238,6 +1238,8 @@ bool date_interval_t::find_period(const date_t& date)
DEBUG("times.interval", "true: start = " << *start);
DEBUG("times.interval", "true: end_of_duration = " << *end_of_duration);
+ resolve_end();
+
return true;
}