forked from extern/egroupware
FixBug for Safari (Mac)
This commit is contained in:
parent
14720c0cfd
commit
959740dd9f
@ -1751,7 +1751,7 @@ Date.prototype.print = function (str) {
|
||||
s["%%"] = "%"; // a literal '%' character
|
||||
|
||||
var re = /%./g;
|
||||
if (!Calendar.is_ie5 && !Calendar.is_opera)
|
||||
if (!Calendar.is_ie5 && !Calendar.is_opera && !Calendar.is_khtml)
|
||||
return str.replace(re, function (par) { return s[par] || par; });
|
||||
|
||||
var a = str.match(re);
|
||||
@ -1778,4 +1778,4 @@ Date.prototype.setFullYear = function(y) {
|
||||
|
||||
|
||||
// global object that remembers the calendar
|
||||
window.calendar = null;
|
||||
window.calendar = null;
|
||||
|
Loading…
Reference in New Issue
Block a user