loaders ยป date
date โ date
date_items โ list
date_list โ list
Accepts YYYY-MM-DD
and returns a python date
(or raises an error for invalid values).
enostart: 1992-12-01
end: 1994-03-04
invalid: 2018-03-14 13:10
pythondocument = parse(input)
document.date('start') #=> <class date>
document.date('end') #=> <class date>
document.date('invalid')
# raises an error: 'invalid' must contain a valid date, for instance '1993-11-18'.