Added hour support to gentasktime
parent
cfee714c81
commit
6aef6ccdf4
|
@ -25,7 +25,10 @@ domake \
|
||||||
last=""
|
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 ) next;
|
||||||
if ( $1 < last ) nextfile;
|
if ( $1 < last ) nextfile;
|
||||||
last = $1;
|
last = $1;
|
||||||
|
|
Loading…
Reference in New Issue