Mercurial > getan
comparison contrib/zeiterfassung @ 16:22aa74768d97
left justify user sign in zeiterfassung
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Tue, 18 Aug 2009 14:49:40 +0200 |
parents | e347f0de5e22 |
children | 5f87604ea5ed a3c0a4fc55fb |
comparison
equal
deleted
inserted
replaced
15:0bb0100b2c8d | 16:22aa74768d97 |
---|---|
200 if c: | 200 if c: |
201 m = WORKPACKAGE.match(c) | 201 m = WORKPACKAGE.match(c) |
202 if m: | 202 if m: |
203 workpackage = m.group(1) | 203 workpackage = m.group(1) |
204 c = c[m.end():].strip() | 204 c = c[m.end():].strip() |
205 print "%s %sh %s %3s [%s] %s" % ( | 205 print "%s %sh %s %-3s [%s] %s" % ( |
206 d.strftime("%d.%m.%Y"), | 206 d.strftime("%d.%m.%Y"), |
207 human_time(t), | 207 human_time(t), |
208 TYPE_OF_ENTRY, | 208 TYPE_OF_ENTRY, |
209 user, | 209 user, |
210 workpackage, | 210 workpackage, |