Unparseable date
Dear Java Gurus,
Locale theLocale = Locale.GERMANY;
Calendar calendar = Calendar.getInstance(theLocale);
Date d = calendar.getTime();
System.out.println("Supposedly localised string: "+ d.toLocaleString());
produces:
Supposedly localised string: Mar 23, 2004 10:02:31 PM
Which seems to make no sense, while there are no pm's in german and mar is not short for Maerz.
The thing is I switched my entire operating system language to English and since then to make things even more fun I get the following error later,
java.text.ParseException: Unparseable date: "Mar 23, 2004 10:01:17 PM"
hmm, watcha lot think? what's my best work around?
thanks
kent

