forked from extern/egroupware
Translate months too
This commit is contained in:
parent
94512e47ed
commit
e6931f76ee
@ -109,7 +109,7 @@ function date (format, timestamp) {
|
|||||||
|
|
||||||
// Month
|
// Month
|
||||||
F: function () { // Full month name; January...December
|
F: function () { // Full month name; January...December
|
||||||
return txt_words[6 + f.n()];
|
return egw && egw.lang ? egw.lang(txt_words[6 + f.n()]) : txt_words[6 + f.n()];
|
||||||
},
|
},
|
||||||
m: function () { // Month w/leading 0; 01...12
|
m: function () { // Month w/leading 0; 01...12
|
||||||
return _pad(f.n(), 2);
|
return _pad(f.n(), 2);
|
||||||
|
Loading…
Reference in New Issue
Block a user