changed date/time parsing to date-time objects