scripts: fix GNU data invocation
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 48594
This commit is contained in:
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 -j -f "%Y-%m-%d %H:%M:%S %z" "$1" "$2" 2>/dev/null
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
date -d "@$1" "$2"
|
date -d "$1" "$2"
|
||||||
esac
|
esac
|
||||||
|
|
||||||
exit $?
|
exit $?
|
||||||
|
|
Loading…
Reference in New Issue