Skip to content

Commit db57bc3

Browse files
committed
Fixed date formatting in historical sample names field
Signed-off-by: Angelica Ochoa <15623749+ao508@users.noreply.github.com>
1 parent 8e3d0ff commit db57bc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphql-server/src/schemas/queries/samples.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ export function buildSamplesQueryBody({
215215
apoc.coll.toSet(
216216
[sid IN apoc.coll.sortMaps(sampleIdsList, "importDate")
217217
WHERE sid.cmoSampleName <> latestSm.cmoSampleName AND sid.cmoSampleName <> ""
218-
| sid.cmoSampleName + " (" + sid.importDate + ")"
218+
| sid.cmoSampleName + " (" + apoc.date.format(sid.importDate, 'ms', 'yyyy-MM-dd') + ")"
219219
]
220220
),
221221
", ") AS historicalCmoSampleNames

0 commit comments

Comments
 (0)