diff --git a/public/static/locales/en/treemapperAnalytics.json b/public/static/locales/en/treemapperAnalytics.json index 8d7d41d9ea..bb2d5abd10 100644 --- a/public/static/locales/en/treemapperAnalytics.json +++ b/public/static/locales/en/treemapperAnalytics.json @@ -28,7 +28,7 @@ "dec": "Dec", "exportColumnHeaders": { "hid": "Human Readable ID for a plant location", - "plantDate": "Planted Date", + "interventionStartDate": "Starting date of intervention (e.g. Tree planting date)", "species": "Name of the species planted", "treeCount": "", "geometry": "GeoJson Co-ordinate of the polygon", diff --git a/src/features/common/types/dataExplorer.d.ts b/src/features/common/types/dataExplorer.d.ts index f0e18e9240..96c914f24c 100644 --- a/src/features/common/types/dataExplorer.d.ts +++ b/src/features/common/types/dataExplorer.d.ts @@ -34,7 +34,7 @@ export interface ISpeciesPlanted { export interface IExportData { hid: string; - plant_date: Date; + intervention_start_date: Date; species: string; tree_count: number; geometry: string; diff --git a/src/features/common/types/plantLocation.d.ts b/src/features/common/types/plantLocation.d.ts index 529b50d57b..b82693b0c0 100644 --- a/src/features/common/types/plantLocation.d.ts +++ b/src/features/common/types/plantLocation.d.ts @@ -11,7 +11,6 @@ export interface PlantLocationBase { registrationDate: DateString; /** @deprecated */ plantDate: DateString; - interventionDate: DateString; interventionStartDate: DateString | null; //should be the same as interventionDate interventionEndDate: DateString | null; lastMeasurementDate: DateString | null; diff --git a/src/features/projects/components/PlantLocation/PlantLocationDetails.tsx b/src/features/projects/components/PlantLocation/PlantLocationDetails.tsx index dd781f6e19..0c2a2773c2 100644 --- a/src/features/projects/components/PlantLocation/PlantLocationDetails.tsx +++ b/src/features/projects/components/PlantLocation/PlantLocationDetails.tsx @@ -207,7 +207,9 @@ export default function PlantLocationDetails({
{tTreemapper('plantDate')}
-{tTreemapper('plantDate')}
+{tTreemapper('registrationDate')}