From b1370279eda5fad3f9876528dc934345e60e799e Mon Sep 17 00:00:00 2001 From: Sebastian Reichel Date: Fri, 25 May 2012 16:57:14 +0200 Subject: include minute in subject --- invoice/generate-invoice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'invoice') diff --git a/invoice/generate-invoice.py b/invoice/generate-invoice.py index 9d7adc5..51cf7ca 100755 --- a/invoice/generate-invoice.py +++ b/invoice/generate-invoice.py @@ -182,7 +182,7 @@ def daily(timestamp = time.time()): start = int(dstart.strftime("%s")) title = "Getränke Rechnung %04d-%02d-%02d" % (dstart.year, dstart.month, dstart.day) - subject = "Getränke Zwischenstand %02d.%02d.%04d %02d Uhr bis %02d.%02d.%04d %02d Uhr" % (dstart.day, dstart.month, dstart.year, dstart.hour, dstop.day, dstop.month, dstop.year, dstop.hour) + subject = "Getränke Zwischenstand %02d.%02d.%04d %02d:%02d Uhr bis %02d.%02d.%04d %02d:%02d Uhr" % (dstart.day, dstart.month, dstart.year, dstart.hour, dstart.minute, dstop.day, dstop.month, dstop.year, dstop.hour, dstop.minute) for user in get_users_with_purches(start, stop): userinfo = get_user_info(user) -- cgit v1.2.3