From 84a5901b3a9c774fc204872d5d9fc1b0af0c413d Mon Sep 17 00:00:00 2001 From: Serhioromano Date: Fri, 12 Jun 2015 20:03:32 +0600 Subject: [PATCH] Sync --- js/calendar.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/calendar.js b/js/calendar.js index 4b21198d..32ff2149 100644 --- a/js/calendar.js +++ b/js/calendar.js @@ -19,6 +19,7 @@ Date.prototype.getDateFormatted = function() { var date = this.getDate(); return date < 10 ? '0' + date : date; }; + if(!String.prototype.format) { String.prototype.format = function() { var args = arguments;