Plumbing: Attempt at fixing the Cygwin missing std::to_string function.
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user