mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Replace inacurate comment
This commit is contained in:
parent
5c67d22540
commit
38ac630ac7
1 changed files with 1 additions and 3 deletions
|
@ -56,11 +56,9 @@ void ColumnTypeDuration::modify(Task& task, const std::string& value) {
|
||||||
evaluatedValue = Variant(value);
|
evaluatedValue = Variant(value);
|
||||||
}
|
}
|
||||||
|
|
||||||
// The duration is stored in raw form, but it must still be valid,
|
// The duration is first parsed, then stored inside the variant as a `time_t`
|
||||||
// and therefore is parsed first.
|
|
||||||
std::string label = " [1;37;43mMODIFICATION[0m ";
|
std::string label = " [1;37;43mMODIFICATION[0m ";
|
||||||
if (evaluatedValue.type() == Variant::type_duration) {
|
if (evaluatedValue.type() == Variant::type_duration) {
|
||||||
// Store the raw value, for 'recur'.
|
|
||||||
Context::getContext().debug(label + _name + " <-- " + (std::string)evaluatedValue + " <-- '" +
|
Context::getContext().debug(label + _name + " <-- " + (std::string)evaluatedValue + " <-- '" +
|
||||||
value + '\'');
|
value + '\'');
|
||||||
task.set(_name, evaluatedValue);
|
task.set(_name, evaluatedValue);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue