Skip to content

Commit

Permalink
Fix some meta, todo note
Browse files Browse the repository at this point in the history
That should be added, but I don't have time to right now
  • Loading branch information
mcmonkey4eva committed Jan 2, 2015
1 parent 48c69ec commit abe7b69
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/net/aufdemrand/denizen/objects/Duration.java
Expand Up @@ -442,7 +442,7 @@ public String getAttribute(Attribute attribute) {
}
// <--[tag]
// @attribute <d@duration.time>
// @returns Element(Number)
// @returns Element
// @description
// returns the date-time specified by the duration object.
// -->
Expand Down Expand Up @@ -507,6 +507,7 @@ else if (attribute.startsWith("minute"))
else if (attribute.startsWith("second"))
return new Element(currentDate.getSeconds()).getAttribute(attribute.fulfill(1));

// TODO: Custom format option
else {
format.applyPattern("EEE, d MMM yyyy HH:mm:ss");
return new Element(format.format(currentDate))
Expand Down

0 comments on commit abe7b69

Please sign in to comment.