Show
Ignore:
Timestamp:
05/04/06 09:30:47 (18 years ago)
Author:
jerome
Message:

Double checked that all DateTime? objects are correctly handled in
all cases.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/storage.py

    r2804 r2880  
    250250    def setDateLimit(self, datelimit) :     
    251251        """Sets the date limit for this quota.""" 
     252        datelimit = DateTime.ISO.ParseDateTime(str(datelimit)) 
    252253        date = "%04i-%02i-%02i %02i:%02i:%02i" % (datelimit.year, datelimit.month, datelimit.day, datelimit.hour, datelimit.minute, datelimit.second) 
    253254        self.parent.writeUserPQuotaDateLimit(self, date) 
     
    374375    def setDateLimit(self, datelimit) :     
    375376        """Sets the date limit for this quota.""" 
     377        datelimit = DateTime.ISO.ParseDateTime(str(datelimit)) 
    376378        date = "%04i-%02i-%02i %02i:%02i:%02i" % (datelimit.year, \ 
    377379                                                  datelimit.month, \