Convert datetimes to the local timezone where necessary.