Hi Friends,

I'm having trouble with the tr:chooseDate component. For some reason the
component returns a different format (MM/dd/yyyy) than the default format
defined by my regional settings (dd-mm-yyyy).

If I test the format with code like 

String today = DateFormat.getDateTimeInstance(DateFormat.SHORT, 
DateFormat.SHORT).format(date);
System.out.println("Today " + today);

The result is correct, however the calendar control gives me an (mm/dd/yyyy)
notation. Is there any way to override / correct this? 


-- 
View this message in context: 
http://www.nabble.com/tr%3AchooseDate-date-format-different-then-DateFormat.getDateTimeInstance%28DateFormat.SHORT-tp25851533p25851533.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to