zdate: fix early dates breaking
This commit is contained in:
parent
0ed3457799
commit
6ed26f261b
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ shift $((OPTIND-1))
|
||||||
targets="."
|
targets="."
|
||||||
[ $# -gt 0 ] && targets="$*"
|
[ $# -gt 0 ] && targets="$*"
|
||||||
|
|
||||||
ret=$(find $targets -printf '%T@\n' | sort | tail -n1 | cut -d'.' -f1)
|
ret=$(find $targets -printf '%T@\n' | sort -n | tail -n1 | cut -d'.' -f1)
|
||||||
|
|
||||||
if [ -z "$_opt_s" ]
|
if [ -z "$_opt_s" ]
|
||||||
then
|
then
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue