Closed samimak37 closed 3 years ago
As it currently stands, the Document class only accepts a date field if it is a 4-digit integer. We probably want to change this such that a wider variety of date formats can be supported.
Document
date
https://github.com/dhmit/gender_analysis/blob/e3dbb465c02e581bc5a5aa1ef55e23b8b91da240/gender_analysis/document.py#L50-L60
As it currently stands, the
Document
class only accepts adate
field if it is a 4-digit integer. We probably want to change this such that a wider variety of date formats can be supported.https://github.com/dhmit/gender_analysis/blob/e3dbb465c02e581bc5a5aa1ef55e23b8b91da240/gender_analysis/document.py#L50-L60