|
@ -1789,7 +1789,7 @@ _date2time() { |
|
|
return |
|
|
return |
|
|
fi |
|
|
fi |
|
|
#Mac/BSD |
|
|
#Mac/BSD |
|
|
if date -u -j -f "%Y-%m-%d %H:%M:%S" "$(echo "$1" | tr -d "Z" | tr "T" ' ')" +"%s" 2>/dev/null; then |
|
|
|
|
|
|
|
|
if date -u -j -f "%Y-%m-%d %H:%M:%S" "$(echo "$1" | tr -d "Z" | tr "T" ' ')" +"%s" 2>/dev/null; then |
|
|
return |
|
|
return |
|
|
fi |
|
|
fi |
|
|
_err "Can not parse _date2time $1" |
|
|
_err "Can not parse _date2time $1" |
|
|