File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -475,15 +475,15 @@ HAS_GNUDATE=false
475475HAS_FREEBSDDATE=false
476476HAS_OPENBSDDATE=false
477477if date -d @735275209 >/dev/null 2>&1; then
478- if date -r 735275209 >/dev/null 2>&1; then
479- # It can't do any conversion from a plain date output.
480- HAS_OPENBSDDATE =true
478+ if date -r @ 735275209 >/dev/null 2>&1; then
479+ # Ubuntu >= 25.10
480+ HAS_GNUDATE =true
481481 elif date -r 735275209 2>&1 | grep -q "No such file"; then
482482 # e.g. Debian 24.04, Debian 11-13
483483 HAS_GNUDATE=true
484- elif date -r @ 735275209 >/dev/null 2>&1; then
485- # Ubuntu >= 25.10
486- HAS_GNUDATE =true
484+ elif date -r 735275209 >/dev/null 2>&1; then
485+ # It can't do any conversion from a plain date output.
486+ HAS_OPENBSDDATE =true
487487 fi
488488fi
489489# FreeBSD and OS X date(1) accept "-f inputformat", so do newer OpenBSD versions >~ 6.6.
You can’t perform that action at this time.
0 commit comments