Skip to content

Commit

Permalink
format return object of getTimings
Browse files Browse the repository at this point in the history
  • Loading branch information
varendra007 committed Feb 21, 2024
1 parent 8d3e51a commit 800b91b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions utils/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ def getTimings(num_days):
return {
"sw1": {
"start_day": startDay.day,
"target_month": startMonth,
"end_day": endDay.day,
"year": startYear,
"day_diff": diff,
"target_month": startMonth,
"year": startYear,
}
}
else:
Expand All @@ -59,16 +59,16 @@ def getTimings(num_days):
return {
"sw1": {
"start_day": prev_start_day,
"target_month": previous_month,
"end_day": prev_end_day,
"year": previous_year,
"day_diff": prev_day_diff,
"target_month": previous_month,
"year": previous_year,
},
"sw2": {
"start_day": current_start_day,
"target_month": current_month,
"end_day": current_end_day,
"year": current_year,
"day_diff": current_day_diff,
"target_month": current_month,
"year": current_year,
},
}

0 comments on commit 800b91b

Please sign in to comment.