1. #1
    Sencha User
    Join Date
    Aug 2012
    Posts
    6
    Vote Rating
    0
    mayank pandya is on a distinguished road

      0  

    Default Unanswered: Date picker select 1 day less than selected date

    Unanswered: Date picker select 1 day less than selected date


    When I select any date from date picker like 12-12-2014 it stores 11-12-2014. I facing this issue only in hosted mode. I am using Gxt 3.0. I googled about it but cannot find any proper answer any help.

    Same issue link:

    http://www.sencha.com/forum/showthre...-than-selected

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Jan 2012
    Location
    Arlington, WA
    Posts
    380
    Answers
    6
    Vote Rating
    15
    branflake2267 will become famous soon enough

      0  

    Default


    Does this occur in 3.0.1?


    Thanks,
    Brandon
    GXT Support




    ~ New GXT Guides ~
    http://docs.sencha.com/gxt/3.1/


    ~ Tips and Announcements Community ~
    https://plus.google.com/communities/...85143928405373
    Thanks,
    Brandon
    GXT Support

    ~ New GXT Guides ~
    http://docs.sencha.com/gxt/3.1/

    ~ Support Tickets ~
    https://support.sencha.com/index.php

    ~ Tips and Announcements Community ~
    https://plus.google.com/communities/110447085143928405373

    ~Training~
    Get on the Fast Track with Sencha Training http://sencha.com/training

  3. #3
    Sencha User
    Join Date
    Nov 2011
    Posts
    16
    Vote Rating
    0
    balakishan.r is on a distinguished road

      0  

    Default


    We are also facing similar kind of issue with Gxt Grid.
    Database has 1/1/1753 and 12/31/9999, but it is reduced by one day and showing in Grid column like 31/12/1752 and 12/30/9999. One day less than the actual date in database.

    We are using GXT grid with GWT Date Cell.

    GWT version: 2.5.1
    GXT version: 3.0.4

    Please help if anyone has solution on this.

  4. #4
    Sencha - GXT Dev Team
    Join Date
    Jan 2012
    Location
    Arlington, WA
    Posts
    380
    Answers
    6
    Vote Rating
    15
    branflake2267 will become famous soon enough

      0  

    Default


    Could try and find out if this occur in GXT version 3.0.7 for you? Are you able to change and try it?

    Thanks,
    Brandon
    Thanks,
    Brandon
    GXT Support

    ~ New GXT Guides ~
    http://docs.sencha.com/gxt/3.1/

    ~ Support Tickets ~
    https://support.sencha.com/index.php

    ~ Tips and Announcements Community ~
    https://plus.google.com/communities/110447085143928405373

    ~Training~
    Get on the Fast Track with Sencha Training http://sencha.com/training

  5. #5
    Sencha User
    Join Date
    Nov 2011
    Posts
    16
    Vote Rating
    0
    balakishan.r is on a distinguished road

      0  

    Default


    I tried with upgrading to 3.1.0 version but this version is impacting existing code as there are API changes in this version.

    In release notes also, i could not able to find the exact bug number or fix for this issue. If any, can you please point me to the bug number or resolution.

    Or Can you suggest any alternative approach?

    Thanks for your help.

  6. #6
    Sencha - GXT Dev Team
    Join Date
    Jan 2012
    Location
    Arlington, WA
    Posts
    380
    Answers
    6
    Vote Rating
    15
    branflake2267 will become famous soon enough

      0  

    Default


    Thanks for trying it out.

    I was thinking try out GXT 3.0.7 because intead of 3.1.0 because it does have some breaking changes, although 3.0.7 is closer to the release I see you are using.

    Would you like to try creating a new project and add the GXT 3.0.7 or 3.1.0 library in it and just test only the issue you are having? I haven't gotten any reports with datepicker selection in the newer releases and many fixes have gone in since 3.0.4.
    Thanks,
    Brandon
    GXT Support

    ~ New GXT Guides ~
    http://docs.sencha.com/gxt/3.1/

    ~ Support Tickets ~
    https://support.sencha.com/index.php

    ~ Tips and Announcements Community ~
    https://plus.google.com/communities/110447085143928405373

    ~Training~
    Get on the Fast Track with Sencha Training http://sencha.com/training

  7. #7
    Sencha User
    Join Date
    Nov 2011
    Posts
    16
    Vote Rating
    0
    balakishan.r is on a distinguished road

      0  

    Default


    Thanks Brandon for response.

    Main issue we have with Gxt Grid with GWT Date Cell.
    We have databases in EST time zone and Client is using the application in Same Timezone.

    We experimented below things.
    1. Date Cell with
    DateTimeFormat
    2. Date Cell with DateTimeFormat and Time Zone (EST)
    3. Date Cell with DateTimeFormat and Time Zone (UTC).

    With above all, date is showing with one day less in GRID.

    We suspected it is an issue with Timezone but not sure.

    Is this issue also got resolved in 3.0.7 version?

    Thanks for your advice.

  8. #8
    Sencha - GXT Dev Team
    Join Date
    Jan 2012
    Location
    Arlington, WA
    Posts
    380
    Answers
    6
    Vote Rating
    15
    branflake2267 will become famous soon enough

      0  

    Default


    From what it looks like there is no issue with the date picker so far. I was asking if you noticed different behavior between different versions, that helps me pin down behavior a little. From what it sounds like so far, and I'm guessing because I would need to see more code, that the date time zone is getting converted in one of the steps. Since it looks like the day before and eastern is -4 UTC it may be EST date time is getting converted to UTC. Theres lots of ways to deal with time, so what I would like to do is ask for a test case showing an example of the issue. If it deals with a server side a standalone project will work as well. If I can get a test case, I can sync up with the same code and help evaluate if its an issue or suggest other options. Its much faster if you can through something together because you can replicate the challenge or issue you're having than I could try to do it.

    Would writing up a test case be an option for you? If I can get a test case, I can see whats going on in more detail and provide back some more options.
    Thanks,
    Brandon
    GXT Support

    ~ New GXT Guides ~
    http://docs.sencha.com/gxt/3.1/

    ~ Support Tickets ~
    https://support.sencha.com/index.php

    ~ Tips and Announcements Community ~
    https://plus.google.com/communities/110447085143928405373

    ~Training~
    Get on the Fast Track with Sencha Training http://sencha.com/training

Thread Participants: 2

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi