Skip to content

Don't round release time down, fix add bug in release time calc#5

Open
daf wants to merge 1 commit into
NOAA-ORR-ERD:masterfrom
daf:fix-release-time
Open

Don't round release time down, fix add bug in release time calc#5
daf wants to merge 1 commit into
NOAA-ORR-ERD:masterfrom
daf:fix-release-time

Conversation

@daf

@daf daf commented Oct 23, 2015

Copy link
Copy Markdown

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant