If the user specified a time that wasn't rounded down to the hour, the release dialog would make a time out of sync which resulted in the "Spill time doesn't correspond with model time" or similar error message. This PR fixes that as well as corrects a bug in Moment math (.add() does not produce a result, but mutates start_time, which is then assigned to end_time so it looks like it does).
If the user specified a time that wasn't rounded down to the hour, the release dialog would make a time out of sync which resulted in the "Spill time doesn't correspond with model time" or similar error message. This PR fixes that as well as corrects a bug in Moment math (
.add()
does not produce a result, but mutatesstart_time
, which is then assigned toend_time
so it looks like it does).