diff --git a/tools/gentasktime b/tools/gentasktime index c9a128b..ad043e8 100755 --- a/tools/gentasktime +++ b/tools/gentasktime @@ -25,7 +25,10 @@ domake \ last="" } - /days ago/{ + /days ago|^(1[5-9]|2[0-9]) hours ago/{ + if ( $0 ~ /hours/ ) { + $1 = 1 + } if ( $1 == last ) next; if ( $1 < last ) nextfile; last = $1;