[OPEN] [#45] DateField Localization Issue

Page 1 of 2 12 LastLast
  1. #1

    [OPEN] [#45] DateField Localization Issue

    In my MVC application with spanish language all datefields start week in sunday instead of Monday.

    I see that ext-lang-es.js locale javascript has startDay: 1, and this is correct but if you see dateField.startDay the value is 0.

    It seems that localization config for this property isn't applied correctly.
    Last edited by Baidaly; Nov 17, 2012 at 1:04 AM.
  2. #2
    Hi,

    Thanks for the report. It is an ExtJS bug.
    http://www.sencha.com/forum/showthread.php?240168

    For now please set up StartDay explicitly for DateFields.
  3. #3
    Well as I can see in the ticket, localization will pass a revision in future releases of ExtJS right?

    We have to wait for it then.
  4. #4
    Hope, they will fix it soon. I asked for any time frame. No answer yet.
  5. #5
    Hi,

    With new Ext.JS 4.1.2 version I see that datepicker week starts in monday and datefield in sunday. With es-ES culture.

    Right now, the bug is not fixed.
  6. #6
    Thank you for the report. I have update the Sencha thread. Hope they will answer something concrete.
  7. #7
    Opened an Issue to track this defect, see

    https://github.com/extnet/Ext.NET/issues/45
  8. #8
  9. #9
    Hi,

    I'm using Ext.NET 2.1 r4377 that I believe that uses ExtJS 4.1.3, how can we fix this issue or which code must override?
    In our scenario, migrate to Ext.NET 2.2 is not an option right now.

    Any suggestion would be appreciated
  10. #10
    Hi @softmachine2011,

    Currently, it is not fixed even in the latest. I will try to fix right now...

    Here it is.
    Ext.form.field.Date.override({
        initComponent: function () {
            if (!Ext.isDefined(this.initialConfig.startDay)) {
                this.startDay = Ext.picker.Date.prototype.startDay;
            }
    
            this.callParent();
        }
    });
Page 1 of 2 12 LastLast

Similar Threads

  1. Localization Issue
    By talha in forum 1.x Help
    Replies: 3
    Last Post: Jul 03, 2012, 6:56 AM
  2. [CLOSED][BUG] Arrow's Culture Localization in DateField
    By SETConsulting in forum 1.x Help
    Replies: 0
    Last Post: Feb 16, 2011, 8:31 AM
  3. [CLOSED] Localization issue with DateField
    By randy85253 in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Sep 30, 2010, 5:52 PM
  4. [CLOSED] Localization small issue
    By methode in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Sep 10, 2009, 4:20 AM
  5. [CLOSED] DateField labels localization
    By methode in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Nov 12, 2008, 7:02 AM

Tags for this Thread

Posting Permissions