Show
Ignore:
Timestamp:
11/08/06 22:43:38 (18 years ago)
Author:
jerome
Message:

Fixed date and time parsing, although I was unable to reproduce the problem reported...

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/cupspykota

    r3049 r3050  
    947947                now = DateTime.now() 
    948948                try : 
    949                     previous = DateTime.ISO.ParseDateTime(str(self.Printer.LastJob.JobDate)).localtime() 
     949                    previous = DateTime.ISO.ParseDateTime(str(self.Printer.LastJob.JobDate)[:19]).localtime() 
    950950                except : 
    951951                    previous = now