From 5b96dbbce8fe9e297e4e531447983cd39e15affe Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Mon, 9 Nov 2009 18:16:58 -0500 Subject: [PATCH] Bug Fix - wait date editing - The "wait" date was not being properly formatted, as are all the other dates, in the "edit" command. The result is that an epoch integer date was rendered, instead of something readable and in the preferred format. --- ChangeLog | 2 ++ src/edit.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ee707fa45..fdc824bd1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,8 @@ ------ current release --------------------------- 1.8.4 () + + Fixed bug that caused wait: dates to not be properly rendered in a + readable and preferred format with the "edit" command. ------ old releases ------------------------------ diff --git a/src/edit.cpp b/src/edit.cpp index c7e1e94fd..48112538d 100644 --- a/src/edit.cpp +++ b/src/edit.cpp @@ -150,7 +150,7 @@ static std::string formatTask (Task task) << " Due: " << formatDate (task, "due") << std::endl << " Until: " << formatDate (task, "until") << std::endl << " Recur: " << task.get ("recur") << std::endl - << " Wait until: " << task.get ("wait") << std::endl + << " Wait until: " << formatDate (task, "wait") << std::endl << " Parent: " << task.get ("parent") << std::endl << " Foreground color: " << task.get ("fg") << std::endl << " Background color: " << task.get ("bg") << std::endl