Commit e538a13e authored by neil's avatar neil Committed by GitHub
Browse files

Merge pull request #698 from Neilpang/dev

minor fix comments
parents 6b00787f 6fb2a1ed
...@@ -1279,12 +1279,12 @@ _url_replace() { ...@@ -1279,12 +1279,12 @@ _url_replace() {
} }
_time2str() { _time2str() {
#BSD #Linux
if date -u -d@"$1" 2>/dev/null; then if date -u -d@"$1" 2>/dev/null; then
return return
fi fi
#Linux #BSD
if date -u -r "$1" 2>/dev/null; then if date -u -r "$1" 2>/dev/null; then
return return
fi fi
......
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