Skip to content

Commit

Permalink
Merge pull request #971 from DeepBlueCLtd/963_clarify_role_of_build_date
Browse files Browse the repository at this point in the history
added build date into the footer
  • Loading branch information
IanMayo authored Jan 2, 2024
2 parents 7f76203 + d414ef3 commit 756b457
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/Layout/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<div
Expand Down

0 comments on commit 756b457

Please sign in to comment.