Commits

Adam Gomaa committed 44d0e6a

another to_datetime wrap.

  • Participants
  • Parent commits bd92e81

Comments (0)

Files changed (1)

trac/timeline/web_ui.py

                                        [f[0] for f in available_filters])
 
         # prepare sorted global list
-        events = sorted(events, key=lambda e: e['date'], reverse=True)
+        events = sorted(events, key=lambda e: to_datetime(e['date']), reverse=True)
         if maxrows:
             events = events[:maxrows]