diff options
Diffstat (limited to 'src/precmd.cc')
-rw-r--r-- | src/precmd.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/precmd.cc b/src/precmd.cc index c3e74c0e..1160cc64 100644 --- a/src/precmd.cc +++ b/src/precmd.cc @@ -204,7 +204,7 @@ value_t period_command(call_scope_t& args) out << i << "): " << format_date(*interval.start); if (interval.end_of_duration) - out << " -- " << format_date(interval.inclusive_end()); + out << " -- " << format_date(*interval.inclusive_end()); out << std::endl; if (! interval.skip_duration) |