flairNLP / fundus

A very simple news crawler with a funny name
MIT License
97 stars 59 forks source link

Change deserialisation function for dates #505

Closed addie9800 closed 2 weeks ago

addie9800 commented 2 weeks ago

This PR changes the deserialisation function from the datetime library to the dateutils library, because the datetime library cannot currently correctly parse dates ending with 'Z', which comminly used to denote a timezone difference in JS dates

MaxDall commented 2 weeks ago

Hmm, I'm sure I'm missing something here, but how should this ever be a problem? We deserialize a datetime serialization. Maybe there is something else happening here?