mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-15 18:38:57 +01:00
Translate days of the week
This commit is contained in:
parent
2491fb14b9
commit
6477c81097
@ -82,7 +82,7 @@ function date (format, timestamp) {
|
|||||||
return jsdate.getDate();
|
return jsdate.getDate();
|
||||||
},
|
},
|
||||||
l: function () { // Full day name; Monday...Sunday
|
l: function () { // Full day name; Monday...Sunday
|
||||||
return txt_words[f.w()] + 'day';
|
return egw && egw.lang ? egw.lang(txt_words[f.w()] + 'day') : txt_words[f.w()] + 'day';
|
||||||
},
|
},
|
||||||
N: function () { // ISO-8601 day of week; 1[Mon]..7[Sun]
|
N: function () { // ISO-8601 day of week; 1[Mon]..7[Sun]
|
||||||
return f.w() || 7;
|
return f.w() || 7;
|
||||||
|
Loading…
Reference in New Issue
Block a user