summaryrefslogtreecommitdiff
path: root/src/precmd.cc
diff options
context:
space:
mode:
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;