re-added support for old (pre 7.5) opera

This commit is contained in:
Ralf Becker 2004-07-08 09:42:19 +00:00
parent aac320dbb4
commit 2914721a58

View File

@ -1751,7 +1751,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);