更新一下从标签页面打开的书签详情日期问题
This commit is contained in:
parent
787d65cac4
commit
02fdd9d3dd
|
|
@ -69,6 +69,8 @@ app.controller('bookmarksCtr', ['$scope', '$state', '$stateParams', '$filter', '
|
||||||
|
|
||||||
$scope.detailBookmark = function(bookmark) {
|
$scope.detailBookmark = function(bookmark) {
|
||||||
if ($scope.showStyle == 'navigate') {
|
if ($scope.showStyle == 'navigate') {
|
||||||
|
bookmark.last_click = bookmark.last_click.substring(0, 10);
|
||||||
|
bookmark.created_at = bookmark.created_at.substring(0, 10);
|
||||||
bookmark.tags = [{
|
bookmark.tags = [{
|
||||||
id: bookmark.tag_id,
|
id: bookmark.tag_id,
|
||||||
name: bookmark.tag_name
|
name: bookmark.tag_name
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue