Fixed date and time strings not being correctly set in eventObject