mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-03 16:17:19 +02:00
use cached urgency() for json exports
speeding up the export of tasks for cases with urgency.inherit=1
This commit is contained in:
parent
416c6d3ca4
commit
c60f1d6de0
1 changed files with 1 additions and 1 deletions
|
@ -894,7 +894,7 @@ std::string Task::composeJSON(bool decorate /*= false*/) const {
|
||||||
|
|
||||||
#ifdef PRODUCT_TASKWARRIOR
|
#ifdef PRODUCT_TASKWARRIOR
|
||||||
// Include urgency.
|
// Include urgency.
|
||||||
if (decorate) out << ',' << "\"urgency\":" << urgency_c();
|
if (decorate) out << ',' << "\"urgency\":" << urgency();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
out << '}';
|
out << '}';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue