Fixes datetimes.