Author: jow
Date: 2016-02-01 11:43:27 +0100 (Mon, 01 Feb 2016)
New Revision: 48594

Modified:
   trunk/scripts/portable_date.sh
Log:
scripts: fix GNU data invocation

Signed-off-by: Jo-Philipp Wich <[email protected]>

Modified: trunk/scripts/portable_date.sh
===================================================================
--- trunk/scripts/portable_date.sh      2016-02-01 10:33:25 UTC (rev 48593)
+++ trunk/scripts/portable_date.sh      2016-02-01 10:43:27 UTC (rev 48594)
@@ -5,7 +5,7 @@
                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 $?
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to