Addition of 'Last Updated' tag
authordavyd <davyd>
Sat, 7 Feb 2004 13:19:16 +0000 (13:19 +0000)
committerdavyd <davyd>
Sat, 7 Feb 2004 13:19:16 +0000 (13:19 +0000)
XMLWriter.py

index 8003189..93ffe06 100644 (file)
@@ -127,6 +127,10 @@ class XHTMLWriter:
                        output  +=      open('sidebar.html').read()
                except:
                        pass
+               output  +=      '<h2>Last Updated</h2>\n'
+               output  +=      '<p>\n'
+               output  +=      '%s\n' % time.strftime('%A %B %d, %Y %H:%M', time.localtime())
+               output  +=      '</p>\n'
                if self.parent:
                        output  +=      '<h2>Feeds</h2>\n'
                        output  +=      '<p>\n'

UCC git Repository :: git.ucc.asn.au