aboutsummaryrefslogtreecommitdiff
path: root/static/lib.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--static/lib.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/lib.js b/static/lib.js
index 11fdaf79..1d42100c 100644
--- a/static/lib.js
+++ b/static/lib.js
@@ -159,7 +159,7 @@ function format_date(date, str) {
}
return outstr;
}
-Object.prototype.format = function () { return this; } /* any number of arguments */
+Object.prototype.format = function () { return "" + this; } /* any number of arguments */
Date.prototype.format = function (str) { return format_date (this, str); }
/*