diff --git a/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.spec.ts b/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.spec.ts index 7bd1e6633e..0a92d0800c 100644 --- a/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.spec.ts +++ b/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.spec.ts @@ -34,7 +34,7 @@ describe('write parts', () => { it('writes the record dates', () => { const modified = { ...datasetRecord, - resourcePublished: new Date('2024-01-01T00:00:00Z'), + resourcePublished: new Date('2024-01-01T00:00:00'), } writeRecordCreated(modified, rootEl) writeResourceCreated(modified, rootEl) @@ -78,7 +78,7 @@ describe('write parts', () => { - 2024-01-01T01:00:00 + 2024-01-01T00:00:00 publication diff --git a/libs/api/metadata-converter/src/lib/iso19139/write-parts.spec.ts b/libs/api/metadata-converter/src/lib/iso19139/write-parts.spec.ts index 7c038e5df4..820c0edb5a 100644 --- a/libs/api/metadata-converter/src/lib/iso19139/write-parts.spec.ts +++ b/libs/api/metadata-converter/src/lib/iso19139/write-parts.spec.ts @@ -37,7 +37,7 @@ describe('write parts', () => { it('writes the record dates', () => { const modified = { ...datasetRecord, - resourcePublished: new Date('2024-01-01T00:00:00Z'), + resourcePublished: new Date('2024-01-01T00:00:00'), } writeResourceCreated(modified, rootEl) writeResourceUpdated(modified, rootEl) @@ -70,7 +70,7 @@ describe('write parts', () => { - 2024-01-01T01:00:00 + 2024-01-01T00:00:00