diff MoinMoin/apps/frontend/views.py @ 2749:53d6f0ec8073

merged
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 18 Aug 2014 13:59:14 +0200
parents bac6217594a0 122424b4bc22
children 5762664a2887
line wrap: on
line diff
--- a/MoinMoin/apps/frontend/views.py	Sun Aug 17 03:57:39 2014 +0530
+++ b/MoinMoin/apps/frontend/views.py	Mon Aug 18 13:59:14 2014 +0200
@@ -2275,6 +2275,8 @@
     else:
         query = None
         status = u'open'
+
+    current_timestamp = datetime.now().strftime("%Y_%m_%d-%H_%M_%S")
     idx_name = ALL_REVS
     qp = flaskg.storage.query_parser([TAGS, SUMMARY, CONTENT, ITEMID], idx_name=idx_name)
     terms = [Term(ITEMTYPE, ITEMTYPE_TICKET)]
@@ -2319,6 +2321,7 @@
                                tags=tags,
                                selected_tags=selected_tags,
                                time_sorting=time_sorting,
+                               current_timestamp=current_timestamp,
         )