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 {
val creationDate
: JArr => mutable.LinkedHashMap[String, JValue] => Option[String] =
graph =>
record =>
getBlankNodeContent(graph)(record)("created").flatMap(v =>
digitalObject =>
getBlankNodeContent(graph)(digitalObject)("created").flatMap(v =>
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