Skip to content

Commit

Permalink
Added DateFormatter to LayoutEntry so that it actually works... (#1619)
Browse files Browse the repository at this point in the history
  • Loading branch information
oscargus authored and simonharrer committed Jul 23, 2016
1 parent 458490b commit 01a2179
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/net/sf/jabref/logic/layout/LayoutEntry.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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":
Expand Down

0 comments on commit 01a2179

Please sign in to comment.