PDA

View Full Version : [OPEN] ext-lang-ru.js: date format



Hacker-CB
16 Dec 2013, 4:30 AM
Below is the patch for correct date format for Russian translation:

--- ext-lang-ru.js.orig 2013-12-16 16:19:38.758628424 +0400
+++ ext-lang-ru.js 2013-12-16 16:20:01.674628969 +0400
@@ -58,6 +58,7 @@
Ext.Date.getShortDayName = function(day) {
return Ext.Date.dayNames[day].substring(0, 3);
};
+ Ext.Date.defaultFormat = 'd.m.Y';
}

if (Ext.util && Ext.util.Format) {
@@ -66,7 +67,6 @@
decimalSeparator: ',',
currencySign: '\u0440\u0443\u0431',
// Russian Ruble
- dateFormat: 'd.m.Y'
});
}
});

Gary Schlosberg
16 Dec 2013, 1:30 PM
Thanks for the report! I have opened an Improvement in our bug tracker.