Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    DatePicker / browser - timezone issue

    Hello Isomorphic!

    When I'm using datetime fields with Time.setDefaultDisplayTimezone('+00:00'), I always get the prevous day when I use the datepicker.

    Seems that the datepicker ignores setDefaultDisplayTimezone and uses the browsers timezone (+02:00 here) but then recalculates the date by -02:00.

    I think this happens only in positive timezones.


    Code:
    Time.setNormalDisplayFormat('toShort24HourTime');
    Time.adjustForDST = false;
    Time.setDefaultDisplayTimezone('+00:00');
    
    Date.setShortDatetimeDisplayFormat('toEuropeanShortDateTime');
    Date.setShortDisplayFormat('toEuropeanShortDate');
    Date.setDefaultDateSeparator('.');
    Date.setInputFormat("DMY");
    
    
    
    isc.DynamicForm.create({
        fields: [
            { name: 'dt1', type: 'datetime' }
        ]
    })

    I'm using:
    SC_SNAPSHOT-2011-01-06/LGPL Deployment (built 2011-01-06)

    I've tested this with several actual browsers, but always with the same effect.



    My testapp can be found here:
    https://88.151.78.166/sc-test/index-test.php


    Regards,
    Alex

    #2
    We have made a change which should resolve this issue for you - please try the next nightly build and let us know if you continue to see it!

    Thanks

    Comment


      #3
      Hello!

      Works great now, thank you!


      Regards,
      Alex

      Comment


        #4
        The same issue exists with SmartClient 8.0 version. Just wanted to know whether this has been fixed with 8.1 version

        Comment


          #5
          This issue was fixed and confirmed by the user as fixed, prior to the 8.0 release. If you're still experiencing it, you are probably still running an older build (even if you attempted to upgrade).

          Comment

          Working...
          X