Fix Marketing Planning calculations and date formats.