Fixed issues with wrong date formating.