Changed formatting of the calendar command.

This commit is contained in:
Jonathan Bernard 2013-05-01 09:46:25 -05:00
parent cabbdf7450
commit f3c8f575b7
2 changed files with 5 additions and 4 deletions

View File

@ -1,7 +1,7 @@
#Wed, 01 May 2013 09:40:28 -0500
#Wed, 01 May 2013 09:43:41 -0500
lib.local=true
name=jdb-gtd
version=0.4
version=0.5
nailgun.classpath.dir=/home/jdbernard/programs/nailgun/classpath
build.number=5
build.number=1

View File

@ -10,7 +10,7 @@ import org.joda.time.DateTime
public class GTDCLI {
public static final String VERSION = "0.4"
public static final String VERSION = "0.5"
private static String EOL = System.getProperty("line.separator")
private static GTDCLI nailgunInst
@ -315,6 +315,7 @@ public class GTDCLI {
itemsOnCalendar.each { item ->
def itemDay = new DateMidnight(item.date)
if (itemDay != currentDate) {
if (currentDate != null) println ""
println itemDay.toString("EEE, MM/dd")
println "----------"
currentDate = itemDay }