Changeset 28:9afaa509f383 in stamper for stamper
- Timestamp:
- Aug 8, 2014, 9:00:43 AM (9 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
stamper/stamper.py
r26 r28 201 201 totals[day] = str(timedelta(seconds=totals[day])) 202 202 return details, totals, total_customer 203 204 def timeline(self): 205 for stamp in self.stamps: 206 customer = stamp['customer'] 207 if not stamp['customer']: 208 print(stamp['start'] + ' start') 209 else: 210 print(' '.join([stamp['end'], 211 stamp['customer'], 212 stamp['action']])) 203 213 204 214 def show_stamps(self, customer=None, stamp_filter=None, verbose=False,
Note:
See TracChangeset
for help on using the changeset viewer.