[change] order to Day/Month/Year when reading csv file for event info

This commit is contained in:
Darius Arnold 2018-11-30 10:26:57 +01:00
parent 815a18f2f3
commit 6afb61b666

View File

@ -3480,7 +3480,7 @@ class Project(object):
eventID, date, time, mag, lat, lon, depth = line.split(separator)[:7] eventID, date, time, mag, lat, lon, depth = line.split(separator)[:7]
# skip first line # skip first line
try: try:
month, day, year = date.split('/') day, month, year = date.split('/')
except: except:
continue continue
year = int(year) year = int(year)