-
8 Jun 2012 12:38 AM #1
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:
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?Code:Date.getShortMonthName = function(month) { //return Date.monthNames[month].substring(0, 3); return (month+1) + "."; };
-
8 Jun 2012 8:13 AM #2
Hi Alberto,
Did you try to use lang-pack of ext js ?( Under "src>locale" folder in ext-js folder)
Thankssword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.
-
10 Jun 2012 11:39 PM #3
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.


Reply With Quote