Adjustments to date handling.