Show
Ignore:
Timestamp:
05/03/06 20:40:18 (18 years ago)
Author:
jerome
Message:

Fixes a datetime encoding problem.

Files:
1 modified

Legend:

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

    r2830 r2879  
    254254            username = entry[fields["username"]] 
    255255            jobid = entry[fields["jobid"]] 
    256             jobdate = DateTime.ISO.ParseDateTime(entry[fields["jobdate"]]) 
     256            jobdate = DateTime.ISO.ParseDateTime(str(entry[fields["jobdate"]])) 
    257257            gmtoffset = jobdate.gmtoffset() 
    258258            jobdate = "%s %+03i00" % (jobdate.strftime("%d/%b/%Y:%H:%M:%S"), gmtoffset.hour)