|
|
@@ -117,9 +117,13 @@ def get_meta_data(this_data, this_venue):
|
|
|
# print(match[1])
|
|
|
times[2] = match.group(1)[:-5]
|
|
|
l_time = datetime.datetime.strptime(times[2], time_format)
|
|
|
- # print(aest.localize(l_time))
|
|
|
+ print('l_time: {}'.format(l_time))
|
|
|
+ print('aest.localize(l_time); {}'.format(aest.localize(l_time)))
|
|
|
times[3] = model.convert_to_unixtime(aest.localize(l_time))
|
|
|
+ print('times[3]: {}'.format(times[3]))
|
|
|
# print(times[3])
|
|
|
+ print('datetime.date.fromtimestamp(times[3]+12*60*60): {}'.format(
|
|
|
+ datetime.date.fromtimestamp(times[3]+12*60*60)))
|
|
|
# The RaceDAy namedTuple is created and filled
|
|
|
race_day = RaceDay(this_venue.state, this_venue.name, this_venue.date_string,
|
|
|
datetime.date.fromtimestamp(times[3]+12*60*60),
|