]> git.parisson.com Git - telemeta.git/commitdiff
add datetime to rss revisions
authoryomguy <yomguy@parisson.com>
Thu, 16 Jun 2011 15:23:06 +0000 (17:23 +0200)
committeryomguy <yomguy@parisson.com>
Thu, 16 Jun 2011 15:23:06 +0000 (17:23 +0200)
telemeta/web/base.py

index d53cf1aead431d7a9a3a083aed6c563498c70d15..37544fa40acb58dc8731333f4d31c88d7fcad0e7 100644 (file)
@@ -1078,7 +1078,7 @@ class WebView(object):
             element = r['element']
             if element:
                 link = 'http://' + rss_host + '/' + revision.element_type + 's/' + str(element.public_id)                
-                description = '<b>modified by : ' + revision.user.username + '</b><br /><br />'
+                description = '<b>modified by ' + revision.user.username + ' on ' + unicode(revision.time) + '</b><br /><br />'
                 dict = element.to_dict()
                 for tag in dict.keys():
                     try: