From 3131fc1bf0430e50be79dd79baae033a4933d67e Mon Sep 17 00:00:00 2001 From: Fabian Steeg Date: Tue, 11 Oct 2022 17:53:12 +0200 Subject: [PATCH] Revert showing `dateModified` in UI (2c3f79d, #244) --- app/models/AuthorityResource.java | 4 ---- app/views/details.scala.html | 1 - 2 files changed, 5 deletions(-) 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

}}