[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:
Bavisetti Narayan 2024-10-08 16:51:57 +05:30 committed by GitHub
parent 7317975b04
commit d168fd4bfa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 2871 additions and 461 deletions

View file

@ -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
)