How can I go about displaying a date that is formatted to a users locale, for example me and my Australian friends use the format dd/MM/yyyy, while the Americans amoung us use MM/dd/yyyy. I know I can format a date in visualforce like so
<apex:outputText value="{0,date,dd/MM/yyyy}">
<apex:param value="{!myDateValue}" />
</apex:outputText>
but how can I use the salesforce locale, There is a complete list but how can I use these on my page?
I have found a very comprehensive solution here, but I was hoping someone new of an inbuilt, or more elegant way.
{0,date,short}or{0,date,long}? – Matt Lacey Aug 16 '12 at 01:39