Include the current week into timeline
The current week was cut off and not appeared in timeline. Change-Id: Idb346e57f571ac1caab9f27066380b37497b9a56
This commit is contained in:
parent
362e87b3f5
commit
802e20a779
@ -912,7 +912,7 @@ def timeline(records, **kwargs):
|
|||||||
end_date = release_end_date = utils.timestamp_to_week(
|
end_date = release_end_date = utils.timestamp_to_week(
|
||||||
release['end_date'])
|
release['end_date'])
|
||||||
|
|
||||||
now = utils.timestamp_to_week(int(time.time()))
|
now = utils.timestamp_to_week(int(time.time())) + 1
|
||||||
|
|
||||||
# expand start-end to year if needed
|
# expand start-end to year if needed
|
||||||
if release_end_date - release_start_date < 52:
|
if release_end_date - release_start_date < 52:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user