mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-09 07:28:43 +01:00
Translate months too
This commit is contained in:
parent
863de9144e
commit
105e191920
@ -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