From d414ef3ad0d2d4ff26cd45e73d2291b4ce32f419 Mon Sep 17 00:00:00 2001 From: tahaKhanAbdalli Date: Tue, 26 Dec 2023 12:08:35 +0500 Subject: [PATCH] added build date into the footer --- src/components/Layout/Footer.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/Layout/Footer.tsx b/src/components/Layout/Footer.tsx index 2a399106..6dee69a0 100644 --- a/src/components/Layout/Footer.tsx +++ b/src/components/Layout/Footer.tsx @@ -3,7 +3,10 @@ import preval from 'preval.macro' const Footer = (): React.ReactElement => { const buildDate = preval`module.exports = new Date().toISOString().slice(0, 19).replace('T', ' ')` - const trimmedAppBuildDate = buildDate.substring(0, buildDate.length - 3) + const trimmedAppBuildDate = `Build Date: ${buildDate.substring( + 0, + buildDate.length - 3 + )}` return (