Open zbutfly opened 3 years ago
Now it's json format like 'Sat Feb 06 01:50:21 +0800 2021', the old date parsing code return 'None' for ever.
The code of parse_date should be:
import dateutil.parser def parse_date(text): return dateutil.parser.parse(text).date() # all other line in the function should be removed.
code tested successfully by me.
Thank you!
Now it's json format like 'Sat Feb 06 01:50:21 +0800 2021', the old date parsing code return 'None' for ever.
The code of parse_date should be:
code tested successfully by me.