Support an 'end' key in task maps
This definition matches how TaskWarrior uses the same key.
This commit is contained in:
@@ -228,7 +228,7 @@ mod tests {
|
||||
..
|
||||
} = op
|
||||
{
|
||||
if property == "modified" {
|
||||
if property == "modified" || property == "end" {
|
||||
if value.is_some() {
|
||||
value = Some("just-now".into());
|
||||
}
|
||||
@@ -291,6 +291,13 @@ mod tests {
|
||||
value: Some("past tense".into()),
|
||||
timestamp: now,
|
||||
},
|
||||
ReplicaOp::Update {
|
||||
uuid: t.get_uuid(),
|
||||
property: "end".into(),
|
||||
old_value: None,
|
||||
value: Some("just-now".into()),
|
||||
timestamp: now,
|
||||
},
|
||||
ReplicaOp::Update {
|
||||
uuid: t.get_uuid(),
|
||||
property: "status".into(),
|
||||
|
||||
Reference in New Issue
Block a user