scripts: fix GNU data invocation

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

SVN-Revision: 48594
This commit is contained in:
Jo-Philipp Wich 2016-02-01 10:43:27 +00:00
parent 18ba1305d5
commit 78e5e56201
1 changed files with 1 additions and 1 deletions

View File

@ -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 $?