Commits

Matthew Schinckel committed 4ee6b00

Temporary hack to make last-modified work with rossweb.

Comments (0)

Files changed (1)

         
         newest = getattr(self.raw_data[0], mod_field)
         for obj in self.raw_data:
-            newest = max(newest, getattr(obj, mod_field))
+            newest = min(newest, getattr(obj, mod_field))
         self['Last-Modified'] = newest.strftime('%a, %d %b %Y %X GMT').strip()