# HG changeset patch # User Paul Boddie # Date 1367949709 -7200 # Node ID 73efd8e98a62d46f1d0a79c23b3461ff7e7fb6cd # Parent 6338390c5c9c0536f1a6066ad197be8af87c70c0 Added dates to update entries. diff -r 6338390c5c9c -r 73efd8e98a62 actions/SharedUpdates.py --- a/actions/SharedUpdates.py Tue May 07 00:19:47 2013 +0200 +++ b/actions/SharedUpdates.py Tue May 07 20:01:49 2013 +0200 @@ -169,13 +169,14 @@ content = formatText(body, request, fmt, parser_cls) # NOTE: The published and updated details would need to be deduced from - # NOTE: the page history. + # NOTE: the page history instead of being taken for the page as a whole. d = { "title" : escape(summary), "fragment_link" : escape(fragment_link), "download_links" : "\r\n".join(download_links), "content" : content and ('%s' % escape(content)) or "", + "updated" : escape(updated), } # Write the entry output. @@ -184,6 +185,7 @@ \r %(title)s\r %(fragment_link)s\r +%(updated)s\r %(download_links)s\r %(content)s\r \r