1. #1
    Sencha User
    Join Date
    Oct 2009
    Posts
    95
    Vote Rating
    1
    Albareto is on a distinguished road

      0  

    Default Month's short name in Finnish show number, not text

    Month's short name in Finnish show number, not text


    Hi there,

    I have just realized that in the Date Picker in Finnish language it is shown numbers instead of the short names, is there any reason for this? I mean, is it because in Finland they use numbers rather than the three letter month thing?

    This is the function:

    Code:
    Date.getShortMonthName = function(month) {
      //return Date.monthNames[month].substring(0, 3);
      return (month+1) + ".";
    };
    I am asking because I have no idea how this work in Finland, as it is commented I would assume there is a good reason for it, just does somebody know that reason?

  2. #2
    Sencha - Community Support Team sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,333
    Vote Rating
    85
    sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough

      0  

    Default


    Hi Alberto,

    Did you try to use lang-pack of ext js ?( Under "src>locale" folder in ext-js folder)

    Thanks
    sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

  3. #3
    Sencha User
    Join Date
    Oct 2009
    Posts
    95
    Vote Rating
    1
    Albareto is on a distinguished road

      0  

    Default


    Indeed that's the code from ext-lang-fi.js

    Anyway, I managed to talk with a Finnish guy and he said that truncated names for months should be longer than three characters, probably that's why officially was put to month numbers and not to three letters.

    Thanks for your reply.

Thread Participants: 1

Tags for this Thread