summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'main.py')
-rw-r--r--main.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/main.py b/main.py
index b39193d3..4b74307c 100644
--- a/main.py
+++ b/main.py
@@ -1,5 +1,6 @@
import sys
import os
+import time
from ledger import *
@@ -29,3 +30,7 @@ handler = FilterTransactions (handler, "/Checking/")
for entry in journal:
for xact in entry:
handler (xact)
+
+span = Interval ("monthly last year")
+for date in span:
+ print time.strftime ("%c", time.localtime (date))