Changing the date to string method to use the localized version

I changed the line, but it's not showing it as outdated...weird