From f1523b5464924bf9d9987fce0cb3dbe4acda5a4b Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 16 Mar 2009 03:44:27 -0400 Subject: The new code is working now. --- src/precmd.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/precmd.cc') 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) -- cgit v1.2.3