angular/packages/common/test
Pete Bacon Darwin 46d43267e3 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 feat(core): update reference and doc to change async to waitAsync. (#37583) 2020-08-03 12:54:13 -07:00
i18n fix(common): parse YYYY strings as UTC dates (#40629) 2021-01-29 11:14:05 -08:00
location test(common): prefer TestBed.inject over inject (#37459) 2020-06-09 08:26:34 -07:00
pipes feat(common): allow any Subscribable in async pipe (#39627) 2020-11-23 08:28:11 -08:00
BUILD.bazel feat(common): allow any Subscribable in async pipe (#39627) 2020-11-23 08:28:11 -08:00
cookie_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
spies.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
viewport_scroller_spec.ts test(router): update scroller tests to use real objects (#40241) 2021-01-05 09:48:48 -08:00