X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=scripts%2Fportable_date.sh;h=84b56382e0af941a9b2b8e73457839d4600d9341;hb=ed65e3f6623bd1447069e00264710ae1e10b232d;hp=244f545a257a6c1a426b7e6b56c617d65129fd2e;hpb=85354aeadba1a0916daa2b08c3ca00889af58f2e;p=openwrt.git diff --git a/scripts/portable_date.sh b/scripts/portable_date.sh index 244f545a25..84b56382e0 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 $?