Fixed a bug in storing of DateTimes

Looks like we've never been serializing these correctly.  Hasn't been an
issue before solely because we didn't have much way to input them in the
first place.