From 38ac630ac793316b54b4ec202671b70e7b03f1ff Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Mon, 24 Mar 2025 22:19:48 +0000 Subject: [PATCH] Replace inacurate comment --- src/columns/ColTypeDuration.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/columns/ColTypeDuration.cpp b/src/columns/ColTypeDuration.cpp index 34ae53db1..ea8511475 100644 --- a/src/columns/ColTypeDuration.cpp +++ b/src/columns/ColTypeDuration.cpp @@ -56,11 +56,9 @@ void ColumnTypeDuration::modify(Task& task, const std::string& value) { evaluatedValue = Variant(value); } - // The duration is stored in raw form, but it must still be valid, - // and therefore is parsed first. + // The duration is first parsed, then stored inside the variant as a `time_t` std::string label = " MODIFICATION "; if (evaluatedValue.type() == Variant::type_duration) { - // Store the raw value, for 'recur'. Context::getContext().debug(label + _name + " <-- " + (std::string)evaluatedValue + " <-- '" + value + '\''); task.set(_name, evaluatedValue);