openflighthpc / flight-control

0 stars 0 forks source link

Stop cost breakdown excluding dates just before project start date #62

Closed megan-godfrey closed 2 years ago

megan-godfrey commented 2 years ago

Stops error seen for new projects on billing management and costs breakdown pages. Tested with a new AWS project

Goes some way to dealing with #47

timalces commented 2 years ago

This has the side effect of including/showing forecasted costs for dates before the project's start date, but it only impacts monthly projects that don't start on the 1st of the month. E.g.

Screenshot from 2022-07-19 15-44-40

As part of https://github.com/openflighthpc/flight-control/pull/48, monthly projects will be forced to start on the first of the month, so this shouldn't be a problem.