I have code like this:
@string.Format(Resources.JoinDate, myDate)
The resx entry for Resources.JoinDate is
"This person joined on {0}"
I can localise the string, but how can I localise the date? I'd need this to be reusable across other parameter types, such as dates for other strings. For example a US date would be mm/dd/yy whilst a UK date would be dd/mm/yyy
I'd rather not pass a formatter to every date being sent into a resource. Is it possible to do this globally for any resx resource?