mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Bug #985
- 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:
parent
7b58d9c18c
commit
ba48cc35d8
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue