Verified Commit bab2662c authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

get creationDate on instantiation

parent 9a3eedfc
Pipeline #41927 passed with stages
in 5 minutes and 49 seconds
...@@ -195,8 +195,8 @@ object Extractors { ...@@ -195,8 +195,8 @@ object Extractors {
val creationDate val creationDate
: JArr => mutable.LinkedHashMap[String, JValue] => Option[String] = : JArr => mutable.LinkedHashMap[String, JValue] => Option[String] =
graph => graph =>
record => digitalObject =>
getBlankNodeContent(graph)(record)("created").flatMap(v => getBlankNodeContent(graph)(digitalObject)("created").flatMap(v =>
stringValue(v)("normalizedDateValue") stringValue(v)("normalizedDateValue")
) )
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment