Add the time at which this page was generated

time stamp to help those of us who check the page frequently

Change-Id: I4e60f1e4f635d4ad3e1ad30d8f773ade6fc180e5
This commit is contained in:
Davanum Srinivas 2014-01-30 10:37:25 -05:00
parent 867055958a
commit c6e196acc6
2 changed files with 6 additions and 1 deletions

View File

@ -16,6 +16,7 @@
import argparse
import collections
import datetime
import operator
import re
import time
@ -148,7 +149,8 @@ def classifying_rate(fails, data, engine):
"uncounted": total - count,
"jobs": sort,
"total_job_failures": total_job_failures,
"urls": bad_job_urls
"urls": bad_job_urls,
"generated_at": datetime.datetime.utcnow().strftime("%Y-%m-%dT%H:%M")
}
return engine.render(tvars)

View File

@ -20,6 +20,9 @@ Overall Categorization Rate: {{ rate['overall'] }}%
<p>
Total: {{ total }} - Found: {{ count }} = Unclassifed: {{ uncounted }}
</p>
<p>
Generated at: {{ generated_at }}%
</p>
{% for job in jobs %}
<a name="{{job[0]}}"></a>
<a href="#top"><i>back to top</i></a>