wmlunits: Restore build timestamp at the end

This commit is contained in:
Ignacio R. Morelle 2017-08-07 01:27:13 -04:00
parent d4fb543451
commit 6b5ba55fbc
2 changed files with 5 additions and 3 deletions

View file

@ -70,6 +70,8 @@ top_bar = '''
html_footer = '''
</div> <!-- end content -->
<div class="centerbox"><div id="lastmod">%(generation_note)s</div></div>
</div> <!-- end main -->
<div id="footer-sep"></div>
@ -764,7 +766,7 @@ class HTMLOutput:
self.output.write("</div>")
self.output.write(html_footer % {
"generation_note": "generated on " + time.ctime()})
"generation_note": "Last updated on " + time.ctime() + "."})
return n
@ -1116,7 +1118,7 @@ class HTMLOutput:
write('</div>') # main
self.output.write(html_footer % {
"generation_note": "generated on " + time.ctime()})
"generation_note": "Last updated on " + time.ctime() + "."})
def generate_campaign_report(addon, isocode, campaign, wesnoth):

View file

@ -11,7 +11,7 @@ def write_addon_overview(folder, addon):
path = "../"
title = name + " Overview"
generation_note = "generated on " + time.ctime()
generation_note = "Last updated on " + time.ctime() + "."
w(html_output.html_header % locals())