- The dates shown and accepted when editing are formated using dateformat even
  for annotations (dateformat.annotation is thus ignored).
- No test is provided because it involves an external editor.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
This commit is contained in:
Louis-Claude Canon 2012-04-29 11:01:17 +02:00 committed by Paul Beckingham
parent 7b58d9c18c
commit ba48cc35d8

View file

@ -568,7 +568,7 @@ void CmdEdit::parseTask (Task& task, const std::string& after)
std::string::size_type gap = value.find (" -- ");
if (gap != std::string::npos)
{
Date when (value.substr (0, gap), context.config.get ("dateformat.annotation"));
Date when (value.substr (0, gap), context.config.get ("dateformat"));
// This guarantees that if more than one annotation has the same date,
// that the seconds will be different, thus unique, thus not squashed.