- versions used: sonarcloud
- error observed:
"Invalid new code period. '2020-12-22' is not one of: integer > 0, date before current analysis j, \"previous_version\", or version string that exists in the project' \nPlease contact a project administrator to correct this setting"
- steps to reproduce: In one of our projects, when we set the ‘new code’ setting to a date, it tells us it cannot handle it whe we call the API.
- potential workaround: Not setting the new code setting to date.
Update: seems like an off by one error. It defaults to a month earlier, and when setting the date to november, the problem does not occur.