|
|
|
|
|
|
523
|
delta = date_last - date_first
|
523
|
delta = date_last - date_first
|
|
524
|
a['date_first'] = date_first.strftime('%Y-%m-%d')
|
524
|
a['date_first'] = date_first.strftime('%Y-%m-%d')
|
|
525
|
a['date_last'] = date_last.strftime('%Y-%m-%d')
|
525
|
a['date_last'] = date_last.strftime('%Y-%m-%d')
|
|
526
|
- a['timedelta'] = delta
|
|
|
|
|
|
526
|
+ a['timedelta'] = abs(delta)
|
|
527
|
if 'lines_added' not in a: a['lines_added'] = 0
|
527
|
if 'lines_added' not in a: a['lines_added'] = 0
|
|
528
|
if 'lines_removed' not in a: a['lines_removed'] = 0
|
528
|
if 'lines_removed' not in a: a['lines_removed'] = 0
|
|
529
|
|
529
|
|