From 91e61e9dcdec32ebe0fdaca27859f726a3508634 Mon Sep 17 00:00:00 2001 From: wangqianliang Date: Fri, 8 Mar 2019 22:14:55 +0800 Subject: [PATCH] fix(code/frontend): truncate blame date --- x-pack/plugins/code/public/components/main/blame.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x-pack/plugins/code/public/components/main/blame.tsx b/x-pack/plugins/code/public/components/main/blame.tsx index 782fbcb0d342f..c6d40e364a029 100644 --- a/x-pack/plugins/code/public/components/main/blame.tsx +++ b/x-pack/plugins/code/public/components/main/blame.tsx @@ -42,8 +42,8 @@ export class Blame extends React.PureComponent<{ blame: GitBlame; isFirstLine: b - - + + {moment(blame.commit.date).fromNow()}