scripts: fix GNU data invocation
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 1 Feb 2016 10:43:27 +0000 (10:43 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 1 Feb 2016 10:43:27 +0000 (10:43 +0000)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 48594

scripts/portable_date.sh

index 244f545a257a6c1a426b7e6b56c617d65129fd2e..84b56382e0af941a9b2b8e73457839d4600d9341 100755 (executable)
@@ -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 $?