From b5c62f3e5b30dd6a7ebcd2528e9f164836988fb1 Mon Sep 17 00:00:00 2001 From: Cheng Shi Date: Fri, 8 Nov 2024 16:55:21 -0500 Subject: [PATCH] fix: change datetime attribute to a machine-readable value --- .../file-info/file-info-cell/file-info-data/FileDate.tsx | 2 +- src/sections/file/file-embargo/FileEmbargoDate.tsx | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/sections/dataset/dataset-files/files-table/file-info/file-info-cell/file-info-data/FileDate.tsx b/src/sections/dataset/dataset-files/files-table/file-info/file-info-cell/file-info-data/FileDate.tsx index b0622d43e..299887b4f 100644 --- a/src/sections/dataset/dataset-files/files-table/file-info/file-info-cell/file-info-data/FileDate.tsx +++ b/src/sections/dataset/dataset-files/files-table/file-info/file-info-cell/file-info-data/FileDate.tsx @@ -9,7 +9,7 @@ export function FileDate({ date }: { date: FileDateModel }) {
{t(`table.date.${date.type}`)}{' '} - diff --git a/src/sections/file/file-embargo/FileEmbargoDate.tsx b/src/sections/file/file-embargo/FileEmbargoDate.tsx index 65294f11e..f8817a128 100644 --- a/src/sections/file/file-embargo/FileEmbargoDate.tsx +++ b/src/sections/file/file-embargo/FileEmbargoDate.tsx @@ -25,11 +25,7 @@ export function FileEmbargoDate({ {t(embargoTypeOfDate(embargo.isActive, datasetPublishingStatus))}{' '}