Changeset 2880 for pykota/trunk
- Timestamp:
- 05/04/06 09:30:47 (19 years ago)
- Location:
- pykota/trunk
- Files:
-
- 4 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/cgi-bin/printquota.cgi
r2879 r2880 244 244 (oddevenclass, \ 245 245 "".join(["<td>%s</td>" % (h or " ") \ 246 for h in ( job.JobDate[:19], \246 for h in (str(job.JobDate[:19]), \ 247 247 _(job.JobAction), \ 248 248 username_url, \ -
pykota/trunk/NEWS
r2877 r2880 24 24 - 1.25alpha2 (2006-05-03) : 25 25 26 - Fixed some problems with DateTime objects. 27 26 28 - Added support for PySNMP v4.x in addition to 3.4.x. 27 29 -
pykota/trunk/pykota/storage.py
r2804 r2880 250 250 def setDateLimit(self, datelimit) : 251 251 """Sets the date limit for this quota.""" 252 datelimit = DateTime.ISO.ParseDateTime(str(datelimit)) 252 253 date = "%04i-%02i-%02i %02i:%02i:%02i" % (datelimit.year, datelimit.month, datelimit.day, datelimit.hour, datelimit.minute, datelimit.second) 253 254 self.parent.writeUserPQuotaDateLimit(self, date) … … 374 375 def setDateLimit(self, datelimit) : 375 376 """Sets the date limit for this quota.""" 377 datelimit = DateTime.ISO.ParseDateTime(str(datelimit)) 376 378 date = "%04i-%02i-%02i %02i:%02i:%02i" % (datelimit.year, \ 377 379 datelimit.month, \ -
pykota/trunk/pykota/storages/ldapstorage.py
r2830 r2880 1144 1144 """Sets the date limit permanently for a user print quota.""" 1145 1145 fields = { 1146 "pykotaDateLimit" : datelimit,1146 "pykotaDateLimit" : str(datelimit), 1147 1147 } 1148 1148 return self.doModify(userpquota.ident, fields) … … 1151 1151 """Sets the date limit permanently for a group print quota.""" 1152 1152 fields = { 1153 "pykotaDateLimit" : datelimit,1153 "pykotaDateLimit" : str(datelimit), 1154 1154 } 1155 1155 return self.doModify(grouppquota.ident, fields)