Hybrid View

    Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-7830 in 4.2.0.265.
  1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    35
    Vote Rating
    0
    Patlatus is on a distinguished road

      0  

    Default Finland Latvian Estonian Standard Time (FLEST) timezone is not supported by ExtJS

    Finland Latvian Estonian Standard Time (FLEST) timezone is not supported by ExtJS


    REQUIRED INFORMATION

    Ext version tested:
    • Ext JS 4.1.0
    • Ext JS 4.1.1
    Browser versions tested against:
    • Firefox
    • Chrome
    Description:
    • Finland Latvian Estonian Standard Time (FLEST) timezone is not supported by ExtJS.
    Steps to reproduce the problem:
    • Change your local time zone on your machine to Finland Latvian Estonian Standard Time (FLEST) timezone (UTC+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius
    • Launch Firefox\Chrome.
    • Open this fiddle in http://jsfiddle.net/Patlatus/BncPc/1/ (copy provided in test case).
    • Observe that 'null' is written to document instead of time
    The result that was expected:
    • Finland Latvian Estonian Standard Time (FLEST) timezone should be supported by ExtJS.
    • In this particular case following text like "Tue Nov 27 2012 14:50:14 GMT+0200 (FLE Standard Time)" should be written to document instead of 'null'.
    • Generally result of execution of following code
      Code:
      a.parseDate(a.formatDate(new Date()))
      should be the same as result of execution code
      Code:
      new Date()
      disregarding timezone settings on client machine
    The result that occurs instead:
    • Finland Latvian Estonian Standard Time (FLEST) timezone is not supported by ExtJS.
    • In this particular case 'null' is written instead of expected text "Tue Nov 27 2012 14:50:14 GMT+0200 (FLE Standard Time)".
    • Generally result of execution of following code
      Code:
      a.parseDate(a.formatDate(new Date()))
      is not the same as result of execution code
      Code:
      new Date()
      .
    Test Case:
    Code:
    Ext.onReady(function() {
    var a = Ext.create('Ext.form.DateField');
    a.format = "F j, Y g:i a T";
    document.write(new Date());
    });‚Äč
    Operating System:
    • Win 7

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,408
    Vote Rating
    851
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Thanks for the report! I have opened a bug in our bug tracker.

  3. #3
    Sencha User
    Join Date
    Mar 2012
    Posts
    35
    Vote Rating
    0
    Patlatus is on a distinguished road

      0  

    Default


    Thanks. Thank you very much for taking this under consideration.

  4. #4
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    17,019
    Vote Rating
    650
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    FYI the fix is inside Date.js, any time you see a regex to match

    Code:
    {1,4}
    It needs to become

    Code:
    {1,5}
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

Thread Participants: 2

Tags for this Thread