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/reporter.py

    r2945 r3050  
    9494            elif quota.DateLimit is not None : 
    9595                now = DateTime.now() 
    96                 datelimit = DateTime.ISO.ParseDateTime(str(quota.DateLimit)) 
     96                datelimit = DateTime.ISO.ParseDateTime(str(quota.DateLimit)[:19]) 
    9797                if now >= datelimit : 
    9898                    datelimit = "DENY"