https://github.com/angular/angular
Revision 521bfc127c46d3a04aee66385fb8315bd23069e5 authored by George Kalpakas on 26 April 2022, 13:58:00 UTC, committed by Dylan Hunn on 29 April 2022, 16:20:08 UTC
Update some TypeScript types in `generate-locales-tool/day-periods.ts`
to more closely reflect the actual shapes of the returned objects.

Examples of the related raw JSON data for the `en` locale can be seen
here:
- [dayPeriods][1]
- [dayPeriodRules][2]

[1]: https://github.com/unicode-org/cldr-json/blob/41.0.0/cldr-json/cldr-dates-full/main/en/ca-gregorian.json#L223-L300
[2]: https://github.com/unicode-org/cldr-json/blob/41.0.0/cldr-json/cldr-core/supplemental/dayPeriods.json#L404-L427

PR Close #45714
1 parent 0e5e4e2
History
Tip revision: 521bfc127c46d3a04aee66385fb8315bd23069e5 authored by George Kalpakas on 26 April 2022, 13:58:00 UTC
refactor(common): improve `dayPeriods`-related types in `generate-locales-tool` (#45714)
Tip revision: 521bfc1
File Mode Size
images
BAZEL.md -rw-r--r-- 14.6 KB
BRANCHES.md -rw-r--r-- 7.3 KB
CARETAKER.md -rw-r--r-- 1019 bytes
CODING_STANDARDS.md -rw-r--r-- 7.5 KB
COMMITTER.md -rw-r--r-- 1.0 KB
DEBUG.md -rw-r--r-- 1020 bytes
DEBUG_COMPONENTS_REPO_IVY.md -rw-r--r-- 1.6 KB
DEVELOPER.md -rw-r--r-- 10.6 KB
FIXUP_COMMITS.md -rw-r--r-- 4.6 KB
GITHUB_PROCESS.md -rw-r--r-- 2.8 KB
NAMING.md -rw-r--r-- 889 bytes
PR_REVIEW.md -rw-r--r-- 5.1 KB
PUBLIC_API.md -rw-r--r-- 6.2 KB
RELEASE_SCHEDULE.md -rw-r--r-- 314 bytes
SAVED_REPLIES.md -rw-r--r-- 3.9 KB
TOOLS.md -rw-r--r-- 5.5 KB
TRIAGE_AND_LABELS.md -rw-r--r-- 12.5 KB

back to top