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