mirror of
git://git.yoctoproject.org/yocto-autobuilder-helper.git
synced 2025-07-19 20:59:02 +02:00
scripts/abint: add a footer showing when the report was generated
Signed-off-by: Ross Burton <ross.burton@arm.com>
This commit is contained in:
parent
11b640e0bd
commit
f12bfe787a
|
@ -76,6 +76,12 @@
|
|||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<footer class="py-4">
|
||||
<p class="text-center text-body-secondary"><small>Generated {{now.format('YYYY-MM-DD HH:mm:ssZZ')}}.</small></p>
|
||||
</footer>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -125,7 +125,7 @@ def last_seen_report(data):
|
|||
template = env.get_template("abint.html.j2")
|
||||
with open("index.html", "w") as f:
|
||||
start = arrow.utcnow().shift(weeks=-100).floor("week")
|
||||
f.write(template.render(bugs=data, start=start))
|
||||
f.write(template.render(bugs=data, start=start, now=arrow.now()))
|
||||
|
||||
|
||||
data = get_data()
|
||||
|
|
Loading…
Reference in New Issue
Block a user