Show
Ignore:
Timestamp:
11/08/06 22:43:38 (17 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/pykota/dumper.py

    r3030 r3050  
    255255            username = entry[fields["username"]] 
    256256            jobid = entry[fields["jobid"]] 
    257             jobdate = DateTime.ISO.ParseDateTime(str(entry[fields["jobdate"]])) 
     257            jobdate = DateTime.ISO.ParseDateTime(str(entry[fields["jobdate"]])[:19]) 
    258258            gmtoffset = jobdate.gmtoffset() 
    259259            jobdate = "%s %+03i00" % (jobdate.strftime("%d/%b/%Y:%H:%M:%S"), gmtoffset.hour)