[WEB-2388] fix: workspace draft issues migration (#5749)
* fix: workspace draft issues * chore: changed the timezone key * chore: migration changes
This commit is contained in:
parent
7317975b04
commit
d168fd4bfa
20 changed files with 2871 additions and 461 deletions
|
|
@ -163,7 +163,7 @@ def burndown_plot(
|
|||
if queryset.end_date and queryset.start_date:
|
||||
# Get all dates between the two dates
|
||||
date_range = [
|
||||
queryset.start_date + timedelta(days=x)
|
||||
(queryset.start_date + timedelta(days=x)).date()
|
||||
for x in range(
|
||||
(queryset.end_date - queryset.start_date).days + 1
|
||||
)
|
||||
|
|
@ -203,7 +203,7 @@ def burndown_plot(
|
|||
if module_id:
|
||||
# Get all dates between the two dates
|
||||
date_range = [
|
||||
queryset.start_date + timedelta(days=x)
|
||||
(queryset.start_date + timedelta(days=x)).date()
|
||||
for x in range(
|
||||
(queryset.target_date - queryset.start_date).days + 1
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue