Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
aufdemrand committed Jun 15, 2013
1 parent 30fcae0 commit e02749b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/net/aufdemrand/denizen/tags/core/UtilTags.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public void utilTags(ReplaceableTagEvent event) {
if (!event.matches("UTIL")) return;

String type = event.getType() != null ? event.getType() : "";
String typeContext = event.getTypeContext() != null ? event.getTypeContext() : "";
String subType = event.getSubType() != null ? event.getSubType() : "";
String subTypeContext = event.getSubTypeContext() != null ? event.getSubTypeContext().toUpperCase() : "";
String specifier = event.getSpecifier() != null ? event.getSpecifier() : "";
Expand Down Expand Up @@ -99,9 +100,10 @@ else if (type.equalsIgnoreCase("DATE")) {
} else format.applyPattern("EEE, MMM d, yyyy");

event.setReplaced(format.format(currentDate));

}



}

}

0 comments on commit e02749b

Please sign in to comment.