From: Jo-Philipp Wich Date: Mon, 1 Feb 2016 10:43:27 +0000 (+0000) Subject: scripts: fix GNU data invocation X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=78e5e56201bf62340753708ff7b8cfc4959e34a5;p=openwrt%2Fstaging%2Frmilecki.git scripts: fix GNU data invocation Signed-off-by: Jo-Philipp Wich SVN-Revision: 48594 --- diff --git a/scripts/portable_date.sh b/scripts/portable_date.sh index 244f545a257..84b56382e0a 100755 --- a/scripts/portable_date.sh +++ b/scripts/portable_date.sh @@ -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 $?