admin@glassfish.java.net

Re: calendar component

From: Ken Paulsen <Ken.Paulsen_at_Sun.COM>
Date: Mon, 16 Apr 2007 12:02:31 -0700

Hi Bill,

I just looked into the code, it appears that the code does support
locale sensitive Date formats (in fact, you can supply any DateFormat
and it appears to respect it).

However, Senthil has a page which the user enters the format on the same
page as the Date. I didn't understand this before, I'm working w/ him
on a better solution for this now...

Thanks!

Ken

Bill Shannon wrote:
> Senthil Chidambaram wrote:
>> I'm looking for flexibility like dd/mm/yyyy, mm/dd/yyyy, or dd/mm/yy
>> (not yyyy here) etc. Right now the component takes only mm/dd/yyyy
>> format.
>
> Entering dd/mm/yyyy in a locale that expects mm/dd/yyyy wouldn't make
> sense.
>
> Does it change the format if you change the locale or not?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>