Re: localisation of Dates

2005-06-20 Thread zarar . siddiqi
You can use the fmt library. It adjusts to your locale. Zarar On Tue, 21 Jun 2005, Arno Schatz wrote: > Hi, > > How do I present a Date in the users locale in a JSP? > > I tried > > but the format is not ok. When I use the format attribute it won't show up in > the locale > prefer

Re: localisation of Dates

2005-06-20 Thread Mike Deegan
;Arno Schatz" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Monday, June 20, 2005 5:40 PM Subject: localisation of Dates Hi, How do I present a Date in the users locale in a JSP? I tried but the format is not ok. When I use the format attribute it won't s

localisation of Dates

2005-06-20 Thread Arno Schatz
Hi, How do I present a Date in the users locale in a JSP? I tried but the format is not ok. When I use the format attribute it won't show up in the locale preferred way. I would like to format it like: DateFormat df = DateFormat.getDateTimeInstance(DateFormat.MEDIUM, DateFo