Commit c79ffeec authored by Ivaria's avatar Ivaria
Browse files

Busybox date command cannot accept strings with timezones

parent d8c807fc
......@@ -56,7 +56,7 @@ fi
# svn date helper function
strtotime() {
value="$1" # datetime string
value=$( echo $1 | sed -e "s/\([^+]*\)\(\+.*\)/\1/" ) # datetime string w/o TZ
format="$2" # strptime string
date -d "$value" +%s
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment