scripts: fix GNU data invocation

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 48594
v19.07.3_mercusys_ac12_duma
Jo-Philipp Wich 7 years ago
parent 18ba1305d5
commit 78e5e56201

@ -5,7 +5,7 @@ case $(uname) in
date -j -f "%Y-%m-%d %H:%M:%S %z" "$1" "$2" 2>/dev/null
;;
*)
date -d "@$1" "$2"
date -d "$1" "$2"
esac
exit $?

Loading…
Cancel
Save