Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: DatePicker in DateField returns one day less than selected

  1. #11
    Sencha User
    Join Date
    Aug 2011
    Location
    Austria
    Posts
    7
    Vote Rating
    0
      0  

    Default Daylight Saving Bug

    The link above doesn' work anymore.
    Does anyone have a solution for Daylight Saving which causes one day offset?
    On serverside we use hibernate and automatic binding on client side.
    Thank in advance

  2. #12
    Sencha User
    Join Date
    Jun 2010
    Posts
    16
    Vote Rating
    0
      0  

    Default

    +1
    Also have the same problem...
    What is the solution?

  3. #13
    Sencha User
    Join Date
    Jun 2010
    Posts
    16
    Vote Rating
    0
      0  

    Default

    is there anybody alive?

  4. #14
    Sencha User
    Join Date
    Oct 2013
    Posts
    1
    Vote Rating
    0
      0  

    Default

    I needed only to extend datefield and adjust difference caused by config of time zone.

    Its temporary. I waiting for complete solution to work with any time zone.


    public class DateField extends com.sencha.gxt.widget.core.client.form.DateField
    {
    public DateField()
    {
    super();
    }

    public java.util.Date getValue()
    {
    if(super.getValue() == null)
    return null;
    else
    return new java.util.Date(super.getValue().getTime() + 43200000);
    }
    }

  5. #15
    Sencha User
    Join Date
    Jun 2014
    Posts
    12
    Vote Rating
    0
      0  

    Default

    Hello, I have the same problem, Could you extend your explanation? I need a solution on ST2.3.1 Thank you very much.

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •