Changeset 188:c737b2c79a8b


Ignore:
Timestamp:
05/17/12 15:51:49 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

If the date is 0000-00-00 it is changed to 0001-01-01

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/web.py

    r184 r188  
    8282
    8383        date = readline(f)
     84        print "web.BookedFlight.readFromWeb: date:", date
     85        if date=="0000-00-00": date = "0001-01-01"
    8486
    8587        self.departureICAO = readline(f)
Note: See TracChangeset for help on using the changeset viewer.