From c28d828d8e24fe637a74674bedc9bc0cbdabca1c Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 17 Nov 2009 21:30:07 -0500 Subject: Renamed date_interval_t::end to finish --- src/precmd.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/precmd.cc') 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; -- cgit v1.2.3