Added properties to format date times so the appropriate locale is used.