From 78526da1f8d92e93613dd4efde59cde355c76e89 Mon Sep 17 00:00:00 2001 From: ggrund-tsi <80682839+ggrund-tsi@users.noreply.github.com> Date: Tue, 15 Jun 2021 15:55:43 +0200 Subject: [PATCH] remove milisec in datetime string (#98) Co-authored-by: Gordon Grund --- src/components/record-test-cert-data.component.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/record-test-cert-data.component.tsx b/src/components/record-test-cert-data.component.tsx index ddbf692..af563a3 100644 --- a/src/components/record-test-cert-data.component.tsx +++ b/src/components/record-test-cert-data.component.tsx @@ -139,7 +139,7 @@ const RecordTestCertData = (props: any) => { tt: testType, nm: testName && testType === 'LP6464-4' ? testName : undefined, ma: testManufacturers && testType === 'LP217198-3' ? testManufacturers : undefined, - sc: sampleDateTime!.toISOString(), + sc: moment.utc(sampleDateTime).format(), tr: testResult, tc: testCenter, co: issuerCountryCode,