From 2c45af31562fa8f10fc097d997192c97e9812f34 Mon Sep 17 00:00:00 2001 From: henlam Date: Fri, 9 Jun 2023 14:23:20 -0400 Subject: [PATCH] fix: #1634 Changed text from 'Planted on' to 'Captured on' in tree image and info --- src/pages/trees/[treeid].js | 6 +++--- src/pages/v2/captures/[captureid].js | 15 +++++---------- 2 files changed, 8 insertions(+), 13 deletions(-) diff --git a/src/pages/trees/[treeid].js b/src/pages/trees/[treeid].js index 12176b725..3d11dd0e3 100644 --- a/src/pages/trees/[treeid].js +++ b/src/pages/trees/[treeid].js @@ -252,7 +252,7 @@ export default function Tree({ }} > - {`Planted on ${moment(tree.time_created).format( + {`Captured on ${moment(tree.time_created).format( 'MMMM Do, YYYY', )}` || 'Unknown Date'} @@ -497,7 +497,7 @@ export default function Tree({ }} > - {`Planted on ${moment(tree.time_created).format( + {`Captured on ${moment(tree.time_created).format( 'MMMM Do, YYYY', )}` || 'Unknown Date'} @@ -596,7 +596,7 @@ export default function Tree({ } /> - {`Planted on ${moment(tree.created_at).format( + {`Captured on ${moment(tree.created_at).format( 'MMMM Do, YYYY', )}` || 'Unknown Date'} @@ -497,7 +492,7 @@ export default function Capture({ }} > - {`Planted on ${moment(tree.created_at).format( + {`Captured on ${moment(tree.created_at).format( 'MMMM Do, YYYY', )}` || 'Unknown Date'} @@ -594,7 +589,7 @@ export default function Capture({ } /> - + {nextExtraIsEmbed && (