No. Not locale. I'm developing an application for an US company, which
operates across all US regions and timezones. When users choose a date/time,
the users thinks locally, but the server does not know the timezone of the
user. So the questions can be detailed as:
1. whether Tapestry automatically sniffs the browser's timezone?
2. if I know the customer's timezone, can I tweak the datepicker's
translator to translate the date/time based on the timezone?

Thanks.

On 2/15/06, Raul Raja Martinez <[EMAIL PROTECTED]> wrote:
>
> Cliff Zhao wrote:
> > Does DatePicker consider users' timezones? Or is there a way to let
> > DatePicker translate date in different timezones for different requests?
> >
> > Thanks.
> >
>
> I'm not sure I fully understand you but:
>
> translator:date,pattern=dd MMM yyyy allows you to format and show dates
> as in
> http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html
>
> Whether your month name is displayed as February instead of Febrero for
> example, depends on the Locale of you application, There is a list of
> Java supported locales and also you can force your app to serve only in
> certain locales, otherwise the locale of your browser will tell tapestry
> which locale to use.
>
> best regards.
>
> Raul.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to