mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Plumbing: Attempt at fixing the Cygwin missing std::to_string function.
This commit is contained in:
parent
10eeb2566f
commit
57133140fb
1 changed files with 1 additions and 1 deletions
|
@ -1962,7 +1962,7 @@ void Task::modify (modType type, bool text_required /* = false */)
|
||||||
// If v is duration, add 'now' to it, else store as date.
|
// If v is duration, add 'now' to it, else store as date.
|
||||||
if (v.type () == Variant::type_duration)
|
if (v.type () == Variant::type_duration)
|
||||||
{
|
{
|
||||||
context.debug (label + name + " <-- '" + format ("{1}", std::to_string (v.get_duration ())) + "' <-- '" + (std::string) v + "' <-- '" + value + "'");
|
context.debug (label + name + " <-- '" + format ("{1}", format (v.get_duration ())) + "' <-- '" + (std::string) v + "' <-- '" + value + "'");
|
||||||
Variant now;
|
Variant now;
|
||||||
if (namedDates ("now", now))
|
if (namedDates ("now", now))
|
||||||
v += now;
|
v += now;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue