From fa36931064660959256ae1c69badd39e98830441 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Thu, 2 Jun 2011 21:39:50 -0400 Subject: [PATCH] Bug - Fixed bug that showed the 'due' date, under the heading 'until' date, in the info report (thanks to Michael McCann). --- AUTHORS | 1 + ChangeLog | 2 ++ src/commands/CmdInfo.cpp | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/AUTHORS b/AUTHORS index b7af963e3..06a377486 100644 --- a/AUTHORS +++ b/AUTHORS @@ -48,6 +48,7 @@ The following submitted code, packages or analysis, and deserve special thanks: Stefan Keel Christopher J. Pilkington Fumihito Yoshida + Michael McCann Thanks to the following, who submitted detailed bug reports and excellent suggestions: diff --git a/ChangeLog b/ChangeLog index e1b8a7609..a0a99f40e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -97,6 +97,8 @@ # Untracked Bugs, biggest first. + Fixed bug that required the '%YAML' prologue in a YAML import. + + Fixed bug that showed the 'due' date, under the heading 'until' date, in the + info report (thanks to Michael McCann). ------ old releases ------------------------------ diff --git a/src/commands/CmdInfo.cpp b/src/commands/CmdInfo.cpp index 5e49ca72d..19b4dfaa7 100644 --- a/src/commands/CmdInfo.cpp +++ b/src/commands/CmdInfo.cpp @@ -180,7 +180,7 @@ int CmdInfo::execute (const std::string&, std::string& output) if (format == "") format = context.config.get ("dateformat"); - std::string until = getDueDate (*task, format); + std::string until = dt.toString (context.config.get ("dateformat")); view.set (row, 1, until); }