timewarrior/test/ti-unclipped.t
2016-04-29 00:38:35 -04:00

19 lines
741 B
Bash
Executable file

#!/usr/bin/env bash
. bash_tap_ti.sh
echo 'define exclusions:' >> timewarrior.cfg
echo ' monday = <9:00 >18:00' >> timewarrior.cfg
echo ' tuesday = <9:00 >18:00' >> timewarrior.cfg
echo ' wednesday = <9:00 >18:00' >> timewarrior.cfg
echo ' thursday = <9:00 >18:00' >> timewarrior.cfg
echo ' friday = <9:00 >18:00' >> timewarrior.cfg
echo ' saturday = <9:00 >18:00' >> timewarrior.cfg
echo ' sunday = <9:00 >18:00' >> timewarrior.cfg
echo >> timewarrior.cfg
# Deliberately start and end times that are within the exclusions, to verify
# that the times are left intact.
timew track 8:31am - 6:29pm foo :quiet
timew export | grep 2900
timew export | grep 3100