In 2aba8b0 we fixed the DatePipe so that when it parsed date strings that looked like `YYYY-MM-DD` it created a UTC date that was not affected by the local timezone of the JavaScript engine. This commit does the same for date strings of the form `YYYY-MM` and `YYYY`. Fixes #33944 PR Close #40620