You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by ju...@apache.org on 2020/06/06 03:52:24 UTC

[incubator-apisix-dashboard] branch next updated: fix: datetime format

This is an automated email from the ASF dual-hosted git repository.

juzhiyuan pushed a commit to branch next
in repository https://gitbox.apache.org/repos/asf/incubator-apisix-dashboard.git


The following commit(s) were added to refs/heads/next by this push:
     new f3c175f  fix: datetime format
f3c175f is described below

commit f3c175f2c5bafcda2249942ec4632892b3cdfc47
Author: juzhiyuan <jj...@gmail.com>
AuthorDate: Sat Jun 6 11:46:09 2020 +0800

    fix: datetime format
---
 src/pages/Routes/List.tsx | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/pages/Routes/List.tsx b/src/pages/Routes/List.tsx
index 3ff532f..9c0e71c 100644
--- a/src/pages/Routes/List.tsx
+++ b/src/pages/Routes/List.tsx
@@ -27,6 +27,7 @@ const RouteList: React.FC = () => {
     {
       title: '更新时间',
       dataIndex: 'update_time',
+      render: (text) => `${new Date(Number(text) * 1000).toLocaleString()}`,
     },
     {
       title: '操作',