From 77fa3d147034b484e814549fcf645087d08d994b Mon Sep 17 00:00:00 2001 From: Joshua Chen Date: Sat, 7 May 2022 20:17:58 +0800 Subject: [PATCH] docs: display last canary publish date in human-readable format (#7367) --- website/community/Versions.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/community/Versions.tsx b/website/community/Versions.tsx index 83e0bd832dae..10e1fdd1ec25 100644 --- a/website/community/Versions.tsx +++ b/website/community/Versions.tsx @@ -118,7 +118,7 @@ export function PublishTime(): JSX.Element | null { return null; } return ( - {time}}}> + {new Date(time).toLocaleString()}}}> { "The latest canary version that's available on npm is published at {time}." }