Commits

Jason R. Coombs committed ff8a7f0

ObjectIDs now render their generation time

Comments (0)

Files changed (1)

                 v = v.replace('<', '&lt;').replace('>', '&gt;')
                 if '\n' in v:
                     v = "<pre>%s</pre>" % v
+            if isinstance(v, ObjectId):
+                v = '%s (%s)' % (v, v.generation_time())
             yield k, short, v, k in indexed
     doc = gendoc(cur)