mirror of https://gitlab.com/bashrc2/epicyon
Double date
parent
31bc48df9e
commit
9a7a6db47b
3
utils.py
3
utils.py
|
@ -559,7 +559,8 @@ def locateNewsArrival(baseDir: str, domain: str,
|
||||||
print('Arrival: content ' + str(arrival))
|
print('Arrival: content ' + str(arrival))
|
||||||
if arrival:
|
if arrival:
|
||||||
arrivalDate = \
|
arrivalDate = \
|
||||||
datetime.strptime(arrival, "%Y-%m-%dT%H:%M:%SZ")
|
datetime.datetime.strptime(arrival,
|
||||||
|
"%Y-%m-%dT%H:%M:%SZ")
|
||||||
return arrivalDate
|
return arrivalDate
|
||||||
|
|
||||||
return None
|
return None
|
||||||
|
|
Loading…
Reference in New Issue