diff --git a/app/models/AuthorityResource.java b/app/models/AuthorityResource.java index 0aab437..4f7d584 100644 --- a/app/models/AuthorityResource.java +++ b/app/models/AuthorityResource.java @@ -468,8 +468,4 @@ private static String year(JsonNode node) { String text = node.elements().next().asText(); return text.matches("\\d{4}-\\d{2}-\\d{2}") ? text.split("-")[0] : text; } - - public String dateModified() { - return json.findValue("dateModified").asText().split("T")[0]; - } } diff --git a/app/views/details.scala.html b/app/views/details.scala.html index e35644d..7a65260 100644 --- a/app/views/details.scala.html +++ b/app/views/details.scala.html @@ -156,7 +156,6 @@ Turtle) @if(entityFacts){und EntityFacts (JSON-LD)} | CC0 - | @resource.dateModified

}}