angular-cn/packages/common/test/i18n
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
..
format_date_spec.ts fix(common): parse `YYYY` strings as UTC dates (#40629) 2021-01-29 11:14:05 -08:00
format_number_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
locale_data_api_spec.ts fix(common): mark locale data arrays as readonly (#30397) 2020-09-10 15:35:30 -07:00
localization_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00