Hi Barry,
Thanks for the code bit - i really appreciate it. I should not have to code for each locale of visitor I expect to see, since this should be as simple as getting the default date. I suppose that what I need to know is how to configure the JVM properly.
I appreciate everyones help - and if i ever figure out how to get it going, i'll post it back here for everyone else to use.
Originally posted by Barry Higgins:
I've run your code from Ireland and was surprised to find my default SHORT was set to M/d/yy.
After looking this up it appears the Locale has to be explicitly set. I thought the JVM might have some way of picking this up at start-up.
Anyway you can avoid all of this unpleasantness by specifying the Locale when you get your DataInstance.