I' have the similar problem. I don't get the date in dd/mm/yyyy.
--------------------------------------------------------------------------------------------------
"Se um dia tiver que escolher entre o mundo e o amor... Lembre-se:
Se escolher o mundo, ficará sem o amor, mas se escolher o amor,
com ele conquistará o mundo." (Albert Einstein)
╔════════════════════════════════════════╗
ROMERYTO VIEIRA LIRA
Bacharelando em Ciência da Computação - UFCG
Membro do SegHidro2 - LSD - http://seghidro.lsd.ufcg.edu.br
Membro do Grupo de Suporte Guardians - www.lcc.ufcg.edu.br
Página Pessoal: http://romeryto.googlepages.com
Blog: http://olhartecnologico.blogspot.com
╚════════════════════════════════════════╝

Pensou em imprimir este e-mail? Isto é mesmo necessário? Poupe o meio
ambiente.
----------------------------------------------------------------------------------------------------------------------------


2008/9/24 David Ojeda <[EMAIL PROTECTED]>

>
> Hello,
>
> I have had many problems with dates in GWT. I think that the main
> issue here is that there is no suport for timezones in GWT. Your
> problem has happened to me before, but I don't know any solution yet.
>
> Here are my thoughts:
> 1. When a Date is created in client-side code (i.e. in a widget), it
> will have the local timezone of the client.
> An experiment:
> Date d = new Date(123456789);
> Label l1 = new Label(d.toString());        // this date may change if
> the tz is changed
> Label l2 = new Label(d.toGMTString()); // this one should not change
> // add the two labels to a panel...
> Try this, and the change the timezone of your machine and try again.
> Does it display the exact same date?
> I've seen that it doesn't display the same date (using DateTimeFormat
> also displays different dates)
>
> 2. I think that the DateField creates a Date object and then converts
> it to String in order to fill the textbox. Since the Date is tzone
> dependant, when selecting dd/mm/yyyy 00:00:00, it is actually dd/mm/
> yyyy 00:00:00 +/- Tzone
>
> On Sep 24, 10:02 am, Halabe <[EMAIL PROTECTED]> wrote:
> > Hi Fernando,
> >
> > You got a reply to open the issue in gwt-ext code.
> >
> > I did that in the below link:
> >
> > http://code.google.com/p/gwt-ext/issues/detail?id=422
> >
> > On Sep 23, 5:45 pm, fernando_de_sarriera <[EMAIL PROTECTED]>
> > wrote:
> >
> > > I Open that issue :
> >
> > >http://code.google.com/p/google-web-toolkit/issues/detail?id=2857
> >
> > > but never recive a answer
> >
> > > On 23 sep, 10:53, Halabe <[EMAIL PROTECTED]> wrote:
> >
> > > > I will open an issue but I don't know how.
> > > > Can you please tell me how to do that?
> >
> > > > On Sep 5, 11:13 am, "Mario Lim" <[EMAIL PROTECTED]> wrote:
> >
> > > > > Can one of you open an issue so we can track this bug?  THX...
> >
> > > > > On Tue, Sep 2, 2008 at 8:40 AM, fernando_de_sarriera
> >
> > > > > <[EMAIL PROTECTED]> wrote:
> >
> > > > > > I have the same problem but when i select January of all years!!
> >
> > > > > > here my Post :
> > > > > >
> http://groups.google.com/group/gwt-ext/browse_thread/thread/ed11d3ad7...
> >
> > > > > > I still do not resolve, although in the post that I disabling the
> > > > > > checkbox works, it does not help.
> >
> > > > > > On 2 sep, 06:45, Halabe <[EMAIL PROTECTED]> wrote:
> > > > > >> Hi All,
> >
> > > > > >> I am using the GWT-Ext dateField widget and I found a bug in the
> > > > > >> months of March and April.
> > > > > >> This bug is that when I choose a date, for example 15 April
> 2008, I am
> > > > > >> getting 14 April 2008 in the field and when I repress the
> Calendar
> > > > > >> button, no date is selected.
> >
> > > > > >> This is found in the end of March and April months of all years!
> >
> > > > > >> Am I using an old version of GWTEXT?
> > > > > >> Does anyone know how to fix this??
> >
> > > > > >> Thank you.
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GWT-Ext Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/gwt-ext?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to