minor fix comments

pull/698/head
neilpang 2017-03-05 19:56:06 +08:00
parent e735d8d4e5
commit 6fb2a1ed39
1 changed files with 2 additions and 2 deletions

View File

@ -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