Replace inacurate comment (#3829)

This commit is contained in:
Ram-Z 2025-03-24 23:07:27 +00:00 committed by GitHub
parent bc16297274
commit a3b44bdef5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);