mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
ISO8601p: Renamed ::_value to ::_period
This commit is contained in:
parent
219f23de33
commit
bb53ae17ae
5 changed files with 41 additions and 41 deletions
|
@ -300,7 +300,7 @@ bool DOM::get (const std::string& name, const Task& task, Variant& value)
|
|||
ISO8601p iso;
|
||||
std::string::size_type cursor = 0;
|
||||
if (iso.parse (period, cursor))
|
||||
value = Variant ((time_t) iso._value, Variant::type_duration);
|
||||
value = Variant ((time_t) iso, Variant::type_duration);
|
||||
else
|
||||
value = Variant ((time_t) ISO8601p (ref.get (canonical)), Variant::type_duration);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue