Strips 0 from dates starting with 0.

This commit is contained in:
Lars Jansøn Engvik committed 2011-09-28 18:03:56 +02:00
1 parent db8a20f56a
commit dbc1bbaf77
2 files changed
+20 -14

No files matched your search

+1 -1
View File
@@ -38,6 +38,6 @@ public class Event implements Serializable {
String month = date.substring(5, 7);
String day = date.substring(8, 10);
return day + ". " + Utils.intToMonthStr(Integer.parseInt(month));
return Utils.stripNullFromDay(day) + ". " + Utils.intToMonthStr(Integer.parseInt(month));
}
}