Closed bugmaschine closed 1 year ago
Have you looked at the existing parse_relative_date_string()
in fanficfare/dateutils.py
? It seems to be very similar.
I modified the code to use the existing function, but the existing code had to be modified i hope this works
Maybe now?
This still needed some tweaking and I didn't want to spend more time going back and forth. Merged in with 5ce7aa5c48370399204e9f7cf2f753b7ce82da94
Please test, I couldn't find and deviantart stories with Yesterday or just now.
Tested it with Yesterday and just now and both work
Okay, thanks.
If the dates are formated like "3 days ago" for example its causes a crash