From 02fdd9d3dd99dccf9cf17791ce12f99bef9d76fb Mon Sep 17 00:00:00 2001 From: luchenqun Date: Thu, 23 Feb 2017 17:48:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=B8=80=E4=B8=8B=E4=BB=8E?= =?UTF-8?q?=E6=A0=87=E7=AD=BE=E9=A1=B5=E9=9D=A2=E6=89=93=E5=BC=80=E7=9A=84?= =?UTF-8?q?=E4=B9=A6=E7=AD=BE=E8=AF=A6=E6=83=85=E6=97=A5=E6=9C=9F=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/scripts/controllers/bookmarks-controller.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/scripts/controllers/bookmarks-controller.js b/public/scripts/controllers/bookmarks-controller.js index febc264..d4880a9 100644 --- a/public/scripts/controllers/bookmarks-controller.js +++ b/public/scripts/controllers/bookmarks-controller.js @@ -69,6 +69,8 @@ app.controller('bookmarksCtr', ['$scope', '$state', '$stateParams', '$filter', ' $scope.detailBookmark = function(bookmark) { if ($scope.showStyle == 'navigate') { + bookmark.last_click = bookmark.last_click.substring(0, 10); + bookmark.created_at = bookmark.created_at.substring(0, 10); bookmark.tags = [{ id: bookmark.tag_id, name: bookmark.tag_name