commit: 5b1af45dcf687c81884810347fdbb3a069710475
parent: 12b918b3829e1cd643dd80ed501b5937aac97f41
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Fri, 28 Apr 2017 17:43:38 +0200
timey-whyme: Use 0000-00-00 so you can put pre-Unix epoch dates
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/timey-whyme.sh b/bin/timey-whyme.sh
@@ -19,14 +19,14 @@ usage() {
#}
todo() {
- echo "1970-01-01,###[1;32m, To Do, ###[0m
+ echo "0000-00-00,###[1;32m, To Do, ###[0m
${today},[1;34m###, Now +7 days, ###
${later},[0m###, Later,###[1m
$(grep -v '^#' $xdd/calendar.csv)[0m" | sort | $form
}
calendar() {
- echo "1970-01-01,###[1;32m, Calendar, ###[0m
+ echo "0000-00-00,###[1;32m, Calendar, ###[0m
${today},[1;34m###, Now +7 days, ###
${later},[0m###, Later,###[1m
$(grep -v '^#' $xdd/calendar.csv)[0m" | sort | $form