Changeset 58:b24ccde3e229 in stamper for bin/stamp
Legend:
- Unmodified
- Added
- Removed
-
bin/stamp
r35 r58 3 3 import sys 4 4 from datetime import datetime 5 from stamper import DATETIME_FORMAT,Stamper5 from stamper import Stamper 6 6 7 7 … … 24 24 if len(sys.argv) == 1: 25 25 # stamp! 26 s.stamp(datetime.today().strftime( DATETIME_FORMAT),26 s.stamp(datetime.today().strftime(s.datetime_format), 27 27 None, None, None) 28 28 … … 35 35 customer = sys.argv[1] 36 36 description = ' '.join(sys.argv[2:]) 37 s.stamp(current_start, datetime.today().strftime( DATETIME_FORMAT),37 s.stamp(current_start, datetime.today().strftime(s.datetime_format), 38 38 customer, description) 39 39
Note:
See TracChangeset
for help on using the changeset viewer.