diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2021-01-12 23:43:01 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2021-01-12 23:43:01 +0100 |
commit | d7abc421403c0e6c593d3f20ff8703b43d18f6a8 (patch) | |
tree | fe19d260e9fab406a99af46a9b893f007771af58 /static | |
parent | xcal->vcomponent fix rrule parsing. (diff) | |
download | calp-d7abc421403c0e6c593d3f20ff8703b43d18f6a8.tar.gz calp-d7abc421403c0e6c593d3f20ff8703b43d18f6a8.tar.xz |
Fix fallback js .format
Diffstat (limited to '')
-rw-r--r-- | static/lib.js | 2 |
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); } /* |