This evaluates to `month = parseInt(values.month - 1)`.  Thankfully, subtraction will auto-cast to integer (unlike addition), so this will work as expected.  However, the intent is really to parse an int from the string in `values.month` and subtract one from that, so this would be clearer as `parseInt(values.month) - 1`.