From 992ae0fcfa6f9bffbba2720a3f4a79968570a481 Mon Sep 17 00:00:00 2001 From: Oscar Gustafsson Date: Sat, 23 Jul 2016 13:48:24 +0200 Subject: [PATCH] Added DateFormatter to LayoutEntry so that it actually works... --- src/main/java/net/sf/jabref/logic/layout/LayoutEntry.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/net/sf/jabref/logic/layout/LayoutEntry.java b/src/main/java/net/sf/jabref/logic/layout/LayoutEntry.java index 1172fa87167..09572f3215b 100644 --- a/src/main/java/net/sf/jabref/logic/layout/LayoutEntry.java +++ b/src/main/java/net/sf/jabref/logic/layout/LayoutEntry.java @@ -54,6 +54,7 @@ import net.sf.jabref.logic.layout.format.CurrentDate; import net.sf.jabref.logic.layout.format.DOICheck; import net.sf.jabref.logic.layout.format.DOIStrip; +import net.sf.jabref.logic.layout.format.DateFormatter; import net.sf.jabref.logic.layout.format.Default; import net.sf.jabref.logic.layout.format.FileLink; import net.sf.jabref.logic.layout.format.FirstPage; @@ -485,6 +486,8 @@ private LayoutFormatter getLayoutFormatterByName(String name) throws Exception { return new CreateDocBookAuthors(); case "CurrentDate": return new CurrentDate(); + case "DateFormatter": + return new DateFormatter(); case "DOICheck": return new DOICheck(); case "DOIStrip":