mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
11 lines
313 B
Bash
Executable file
11 lines
313 B
Bash
Executable file
#!/usr/bin/env bash
|
|
. bash_tap_tw.sh
|
|
|
|
# Setup the tasks
|
|
task add Something I did yesterday
|
|
task 1 mod start:yesterday+18h
|
|
task 1 done end:yesterday+20h
|
|
|
|
# Check that 2 hour interval is reported by task info
|
|
task info | grep -F "Start deleted"
|
|
[[ ! -z `task info | grep -F "Start deleted (duration: 2:00:00)."` ]]
|