|
|
@ -107,9 +107,12 @@ class Order(Base): |
|
|
|
return '' |
|
|
|
return '' |
|
|
|
if some_one: |
|
|
|
if some_one: |
|
|
|
# in the new system a status change also stores the purchaser |
|
|
|
# in the new system a status change also stores the purchaser |
|
|
|
return '{!s} by {!s}'.format(some_date, some_one) |
|
|
|
return '{!s} by {!s}'.format( |
|
|
|
|
|
|
|
some_date.strftime('%Y-%m-%d %H:%M'), |
|
|
|
|
|
|
|
some_one |
|
|
|
|
|
|
|
) |
|
|
|
# historical data does not have a purchaser associated with a date |
|
|
|
# historical data does not have a purchaser associated with a date |
|
|
|
return '{!s}'.format(some_date) |
|
|
|
return '{!s}'.format(some_date.strftime('%Y-%m-%d %H:%M')) |
|
|
|
|
|
|
|
|
|
|
|
@property |
|
|
|
@property |
|
|
|
def placed(self): |
|
|
|
def placed(self): |
|
|
|