Skip to content
This repository has been archived by the owner on Mar 21, 2019. It is now read-only.

Commit

Permalink
Fixed filtering start date
Browse files Browse the repository at this point in the history
  • Loading branch information
hrach committed Jun 2, 2012
1 parent e387ad3 commit f658cbe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/java/com/skrasek/school/pb138/DateUtils.java
Expand Up @@ -53,7 +53,10 @@ public static Date fromStringToDate(String date)
s.set(
Integer.parseInt(date.substring(0, 4)),
Integer.parseInt(date.substring(5, 7)) - 1,
Integer.parseInt(date.substring(8))
Integer.parseInt(date.substring(8)),
0,
0,
0
);
return s.getTime();
}
Expand Down
2 changes: 1 addition & 1 deletion web/template.xsl
Expand Up @@ -73,7 +73,7 @@
</xsl:otherwise>
</xsl:choose>
</xsl:template>

<xsl:template match="trends/trend">
<li>
<xsl:element name="input">
Expand Down

0 comments on commit f658cbe

Please sign in to comment.