From dbbbf859b187c80545d923c2f712f0c755843a8f Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Mon, 22 May 2023 10:49:46 +0300 Subject: Annotate createtime field correctly with xsd:date * examples/dump-phenotype.scm (dump-publishfreeze): Use xsd:date to annotate PublishFreeze's CreateTime field. Signed-off-by: Munyoki Kilyungi --- examples/dump-phenotype.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'examples/dump-phenotype.scm') diff --git a/examples/dump-phenotype.scm b/examples/dump-phenotype.scm index 842e7e8..242e835 100755 --- a/examples/dump-phenotype.scm +++ b/examples/dump-phenotype.scm @@ -40,7 +40,9 @@ (set gn:name (field PublishFreeze Name)) (set gn:fullName (field PublishFreeze FullName)) (set gn:shortName (field PublishFreeze ShortName)) - (set gn:createTime (field PublishFreeze CreateTime)) + (set dct:created (annotate-field + (field PublishFreeze CreateTime) + '^^xsd:date)) (set gn:datasetOfInbredSet (string->identifier "inbredSet" (field InbredSet Name InbredSetName))))) -- cgit v1.2.3