Changeset 2266 for pykota/trunk/cgi-bin/printquota.cgi
- Timestamp:
- 05/21/05 00:40:21 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/cgi-bin/printquota.cgi
r2265 r2266 29 29 import cgi 30 30 import urllib 31 32 from mx import DateTime 31 33 32 34 from pykota import version … … 203 205 billingcode = None 204 206 self.report = ["<h2>%s</h2>" % _("History")] 205 history = self.storage.retrieveHistory(user, printer, datelimit, hostname, billingcode)207 history = self.storage.retrieveHistory(user, printer, hostname, billingcode, end=datelimit) 206 208 if not history : 207 209 self.report.append("<h3>%s</h3>" % _("Empty")) … … 257 259 job.JobPages)]))) 258 260 self.report.append('</table>') 261 d = DateTime.ISO.ParseDateTime(job.JobDate) 259 262 dico = { "history" : 1, 260 "datelimit" : job.JobDate,263 "datelimit" : "%04i%02i%02i %02i:%02i:%02i" % (d.year, d.month, d.day, d.hour, d.minute, d.second), 261 264 } 262 265 if user and user.Exists :