fix unknown date handfling in "Overview"
This commit is contained in:
parent
b8e8b8395b
commit
3312a78028
13
index
13
index
@ -297,9 +297,16 @@ then
|
||||
then
|
||||
(( maxtimestamp < prevtimestamp )) \
|
||||
&& maxtimestamp=$prevtimestamp
|
||||
cat <<-EOHTML
|
||||
<td class="date">$(date +%Y-%m-%d -d @$maxtimestamp)</td>
|
||||
EOHTML
|
||||
if (( maxtimestamp ))
|
||||
then
|
||||
cat <<-EOHTML
|
||||
<td class="date">$(date +%Y-%m-%d -d @$maxtimestamp)</td>
|
||||
EOHTML
|
||||
else
|
||||
cat <<-EOHTML
|
||||
<td class="date">In more than 5 years</td>
|
||||
EOHTML
|
||||
fi
|
||||
fi
|
||||
echo '</tr>'
|
||||
prevtimestamp=$maxtimestamp
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user