use BadValueError and have date/time properties use couchdbkit's algorithm for parsing