Changing the date to string method to use the localized version