diff --git a/litstudy/sources/csv.py b/litstudy/sources/csv.py index 243b9c0..a4d18f3 100644 --- a/litstudy/sources/csv.py +++ b/litstudy/sources/csv.py @@ -116,7 +116,7 @@ def publication_date(self): for fmt in formats: try: - return datetime.strptime(text, fmt) + return datetime.datetime.strptime(text, fmt) except Exception: pass