summaryrefslogtreecommitdiffstats
path: root/invoice
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2012-05-25 16:57:14 +0200
committerSebastian Reichel <sre@ring0.de>2012-05-25 16:57:14 +0200
commitb1370279eda5fad3f9876528dc934345e60e799e (patch)
tree591b8ad7e7cb27d44fef5a72c5be7b3bfb11084b /invoice
parent9460b224e20d8da2ef99fb86b9206e5c21761a55 (diff)
downloadserial-barcode-scanner-b1370279eda5fad3f9876528dc934345e60e799e.tar.bz2
include minute in subject
Diffstat (limited to 'invoice')
-rwxr-xr-xinvoice/generate-invoice.py2
1 files changed, 1 insertions, 1 deletions
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)