forked from extern/egroupware
fix for broken date.print function under opera
This commit is contained in:
parent
1ab7a385b7
commit
f51badf1ef
@ -1732,7 +1732,7 @@ Date.prototype.print = function (str) {
|
||||
s["%%"] = "%"; // a literal '%' character
|
||||
|
||||
var re = /%./g;
|
||||
if (!Calendar.is_ie5)
|
||||
if (!Calendar.is_ie5 && !Calendar.is_opera)
|
||||
return str.replace(re, function (par) { return s[par] || par; });
|
||||
|
||||
var a = str.match(re);
|
||||
|
Loading…
Reference in New Issue
Block a user