angular/packages/common/src
Pete Bacon Darwin ca0f6e6eed fix(common): parse YYYY strings as UTC dates (#40629)
In b6cd38ff05 we fixed the DatePipe so
that when it parsed date strings that looked like `YYYY-MM` 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`.

(Note that the previous commit, mentioned above, attempted to fix this case
too but the test was not actually checking the correct input string.)

Fixes #33944

PR Close #40620

PR Close #40629
2021-01-29 11:14:05 -08:00
..
directives docs: remove duplicated the (#40434) 2021-01-14 11:33:57 -08:00
i18n fix(common): parse YYYY strings as UTC dates (#40629) 2021-01-29 11:14:05 -08:00
location docs(router): clarify how base href is used to construct targets (#38123) 2020-07-29 13:34:02 -07:00
pipes docs(common): use table layout for Pre-defined format options (#40036) 2020-12-09 09:11:03 -08:00
common.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
common_module.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
cookie.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
dom_adapter.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
dom_tokens.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
platform_id.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
private_export.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
version.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
viewport_scroller.ts fix(router): Router should focus element after scrolling (#40241) 2021-01-05 09:48:48 -08:00