Re: Localization and Dates

2009-10-01 Thread Lukasz Lenart
2009/10/1 Robin Mannering : > It seems that the Date conversion provided by struts/xwork is not working in > this case as expected. > > I have no idea if this is a config issue or not. > > If nobody else can shed a light on this problem, I shall fall back to > defining date fields as String and fol

Re: Localization and Dates

2009-10-01 Thread Robin Mannering
Thanks very much for the detailed answer Greg. Thanks Tommy for the links but the problem I have isn't related to displaying of dates. Specifically, I've narrowed it down to the type conversion carried out by Struts. The struts type conversion documentation states type conversion for dates

Re: Localization and Dates

2009-09-30 Thread Greg Lindholm
Properly handling dates in a fully internationalized application can be harder then you might think. As in your example "Dec. 20, 2009" is not an absolute value, it depends on which timezone the user is in because if may be Dec 20 in London, but it's already Dec 21 in Hong Kong. And of course 12/

Re: Localization and Dates

2009-09-30 Thread Tommy Pham
- Original Message > From: Tommy Pham > To: Struts Users Mailing List > Sent: Wednesday, September 30, 2009 9:06:47 AM > Subject: Re: Localization and Dates > > - Original Message > > From: Robin Mannering > > To: Struts Users Mailing List >

Re: Localization and Dates

2009-09-30 Thread Tommy Pham
- Original Message > From: Robin Mannering > To: Struts Users Mailing List > Sent: Wednesday, September 30, 2009 2:18:58 AM > Subject: Localization and Dates > > Hello, > > Can anyone give me some 'best practice' advice for dealing with dates

Localization and Dates

2009-09-30 Thread Robin Mannering
Hello, Can anyone give me some 'best practice' advice for dealing with dates in an international app (Struts2). We are based in the UK and have an application running locally that stores dates within action classes as java.util.Date. These dates are sometimes passed to the application via query