mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Bug #973
- Fixed bug #973, including 'urgency' in the 'export' output (thanks to Andy Spiegl).
This commit is contained in:
parent
d6d9fbd8e7
commit
0918a7c79a
5 changed files with 25 additions and 10 deletions
|
@ -646,6 +646,12 @@ std::string Task::composeJSON (bool include_id /*= false*/) const
|
|||
out << "]";
|
||||
}
|
||||
|
||||
// Include urgency.
|
||||
out << ","
|
||||
<< "\"urgency\":\""
|
||||
<< urgency_c ()
|
||||
<<"\"";
|
||||
|
||||
out << "}";
|
||||
return out.str ();
|
||||
}
|
||||
|
|
|
@ -120,6 +120,10 @@ int CmdImport::execute (std::string& output)
|
|||
if (i->first == "id")
|
||||
;
|
||||
|
||||
// Urgency, if present, is ignored.
|
||||
if (i->first == "urgency")
|
||||
;
|
||||
|
||||
// Dates are converted from ISO to epoch.
|
||||
else if (col->type () == "date")
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue