summaryrefslogtreecommitdiff
path: root/src/precmd.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-17 21:30:07 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-17 21:51:51 -0500
commitc28d828d8e24fe637a74674bedc9bc0cbdabca1c (patch)
tree5b549d4af694193d950162890ae1c5150a24b73a /src/precmd.cc
parent4bc830a2c526cad108695104503f377997e14e7e (diff)
downloadfork-ledger-c28d828d8e24fe637a74674bedc9bc0cbdabca1c.tar.gz
fork-ledger-c28d828d8e24fe637a74674bedc9bc0cbdabca1c.tar.bz2
fork-ledger-c28d828d8e24fe637a74674bedc9bc0cbdabca1c.zip
Renamed date_interval_t::end to finish
Diffstat (limited to 'src/precmd.cc')
-rw-r--r--src/precmd.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/precmd.cc b/src/precmd.cc
index 92483dc8..c4d7cbaa 100644
--- a/src/precmd.cc
+++ b/src/precmd.cc
@@ -173,8 +173,8 @@ value_t period_command(call_scope_t& args)
out << _(" start: ") << format_date(*interval.start) << std::endl;
else
out << _(" start: TODAY: ") << format_date(CURRENT_DATE()) << std::endl;
- if (interval.end)
- out << _(" end: ") << format_date(*interval.end) << std::endl;
+ if (interval.finish)
+ out << _(" finish: ") << format_date(*interval.finish) << std::endl;
if (interval.skip_duration)
out << _(" skip: ") << *interval.skip_duration << std::endl;
@@ -191,8 +191,8 @@ value_t period_command(call_scope_t& args)
if (interval.start)
out << _(" start: ") << format_date(*interval.start) << std::endl;
- if (interval.end)
- out << _(" end: ") << format_date(*interval.end) << std::endl;
+ if (interval.finish)
+ out << _(" finish: ") << format_date(*interval.finish) << std::endl;
if (interval.skip_duration)
out << _(" skip: ") << *interval.skip_duration << std::endl;