[Zope] sorting results by time

Katie Legere klegere at kfpl.ca
Fri Oct 10 10:28:33 EDT 2003


I'm pretty new to Zope and am trying to sort results by time. I have a
perfectly working <dtml-in> that is going through files and g them in
reverse but I would like to filter out ones older than 10 days...

I've tried:


<dtml-if "bobobase_modification_time < '2003/09/30 15:11:04.697 GMT-4'">
   New message posted after '2003/09/30 15:11:04.697 GMT-4'<br>
  <dtml-else>
   old message posted before '2003/09/30 15:11:04.697 GMT-4'<br>
  </dtml-if>

But it definately isn't comparing the times properly.

Katie Legere
Kingston Frontenac Public Library




More information about the Zope mailing list