Changeset 2953 for pykota/trunk/cgi-bin
- Timestamp:
- 06/20/06 23:01:00 (18 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/cgi-bin/printquota.cgi
r2909 r2953 241 241 else : 242 242 billingcode_url = None 243 curdate = DateTime.ISO.ParseDateTime(str(job.JobDate)) 243 244 self.report.append('<tr class="%s">%s</tr>' % \ 244 245 (oddevenclass, \ 245 246 "".join(["<td>%s</td>" % (h or " ") \ 246 for h in (str( job.JobDate[:19]), \247 for h in (str(curdate)[:19], \ 247 248 _(job.JobAction), \ 248 249 username_url, \ … … 264 265 job.JobPages)]))) 265 266 self.report.append('</table>') 266 d = DateTime.ISO.ParseDateTime(str(job.JobDate))267 267 dico = { "history" : 1, 268 "datelimit" : "%04i%02i%02i %02i:%02i:%02i" % (d.year, d.month, d.day, d.hour, d.minute, d.second), 268 "datelimit" : "%04i-%02i-%02i %02i:%02i:%02i" \ 269 % (curdate.year, \ 270 curdate.month, \ 271 curdate.day, \ 272 curdate.hour, \ 273 curdate.minute, \ 274 curdate.second), 269 275 } 270 276 if user and user.Exists :