You found a bug! We've classified it as EXTJS-13413 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha Premium Member
    Join Date
    Nov 2013
    Location
    Tolmin, Slovenia
    Posts
    43
    Vote Rating
    2
    matej.kenda is on a distinguished road

      0  

    Default Wrong default date formats in en locale

    Hi,

    We are developing an ExtJS application that is localised to different languages. On startup, Ext locale files are loaded as well to localise Ext components.

    en localisation file (ext/locale/ext-lang-en.js) contains wrong default date formats (2 digit year instead of 4 digit). This causes certain years selected in date picker (for example 2060) to be subtracted by 100. (2060 --> 1960), depending on the setting of Date.y2kYear.

    Attached patch resolves this issue for en localisation. There might be similar issues for other locale.

    Regards,

    Matej
    Attached Files

  2. #2
    Sencha - Support Team
    Join Date
    Feb 2013
    Location
    California
    Posts
    8,765
    Vote Rating
    239
    Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of

      0  

    Default

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

  3. #3
    Sencha Premium Member
    Join Date
    Nov 2013
    Location
    Tolmin, Slovenia
    Posts
    43
    Vote Rating
    2
    matej.kenda is on a distinguished road

      0  

    Default

    I just checked the locale files in ExtJS 6 and y is still used instead of Y in several places causing the problem as I mentioned in the first post.

Thread Participants: 1

Tags for this Thread