diff --git a/src/main/java/de/sub/goobi/beans/property/IGoobiProperty.java b/src/main/java/de/sub/goobi/beans/property/IGoobiProperty.java index 853b332c0..fb1a54275 100644 --- a/src/main/java/de/sub/goobi/beans/property/IGoobiProperty.java +++ b/src/main/java/de/sub/goobi/beans/property/IGoobiProperty.java @@ -77,4 +77,5 @@ public interface IGoobiProperty { public String getNormalizedValue(); + public String getNormalizedDate(); } diff --git a/src/main/java/org/goobi/beans/AbstractProperty.java b/src/main/java/org/goobi/beans/AbstractProperty.java index a663467ca..80c1ac96c 100644 --- a/src/main/java/org/goobi/beans/AbstractProperty.java +++ b/src/main/java/org/goobi/beans/AbstractProperty.java @@ -24,6 +24,7 @@ import java.util.List; import de.sub.goobi.beans.property.IGoobiProperty; +import de.sub.goobi.helper.Helper; import de.sub.goobi.helper.enums.PropertyType; import lombok.AccessLevel; import lombok.Getter; @@ -83,6 +84,11 @@ public String getNormalizedValue() { return wert.replace(" ", "_").trim(); } + @Override + public String getNormalizedDate() { + return Helper.getDateAsFormattedString(creationDate); + } + @Override public Boolean isIstObligatorisch() { if (istObligatorisch == null) { diff --git a/src/main/webapp/uii/task_all.xhtml b/src/main/webapp/uii/task_all.xhtml index e3afe281c..d245d0336 100644 --- a/src/main/webapp/uii/task_all.xhtml +++ b/src/main/webapp/uii/task_all.xhtml @@ -455,7 +455,12 @@ styleClass="table table-hover table-bordered">
- + + +