mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Update "modified" on modification
This commit is contained in:
parent
a1b64a05ba
commit
6cd5bf1237
3 changed files with 17 additions and 1 deletions
13
test/tw-3102.t
Executable file
13
test/tw-3102.t
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/env bash
|
||||
. bash_tap_tw.sh
|
||||
|
||||
task add modtest modified:yesterday
|
||||
old_modified=`task _get 1.modified`
|
||||
echo $old_modified
|
||||
|
||||
task 1 start
|
||||
new_modified=`task _get 1.modified`
|
||||
echo $new_modified
|
||||
|
||||
# `task start` should have updated modified
|
||||
[[ $old_modified != $new_modified ]]
|
Loading…
Add table
Add a link
Reference in a new issue