From a4e256c0735a955c36496585828972900be227fe Mon Sep 17 00:00:00 2001 From: Argo-Lenovo Date: Fri, 7 Apr 2017 13:29:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9BUG=EF=BC=9A=E5=85=BC?= =?UTF-8?q?=E5=AE=B9Safari=E6=B5=8F=E8=A7=88=E5=99=A8=E5=AF=B9=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E6=A0=BC=E5=BC=8F=E4=B8=8D=E8=AF=86=E5=88=AB=E7=9A=84?= =?UTF-8?q?BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bootstrap.Admin/Scripts/Settings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bootstrap.Admin/Scripts/Settings.js b/Bootstrap.Admin/Scripts/Settings.js index 189691ed..3553d522 100644 --- a/Bootstrap.Admin/Scripts/Settings.js +++ b/Bootstrap.Admin/Scripts/Settings.js @@ -145,7 +145,7 @@ default: break; } - return $.format(html, ele.Interval, ele.Key, ele.Desc, ele.Value, css, options.url, Math.max(0, ele.Interval - Math.round((new Date() - new Date(ele.CreateTime)) / 1000))); + return $.format(html, ele.Interval, ele.Key, ele.Desc, ele.Value, css, options.url, Math.max(0, ele.Interval - Math.round((new Date() - new Date(ele.CreateTime.replace(/-/g, '/'))) / 1000))); }).join(''); $sortable.append($.format('
  • {0}-{1}
  • ', options.item.Desc, options.item.Key)); $sortable.append(content);