chinese-calendar-dates.rs test incorrect
This test expects a leap month M07, however the [official data for this year](https://www.hko.gov.hk/en/gts/time/calendar/pdf/files/1987e.pdf) has a leap month 6.
https://github.com/tc39/test262/blob/a5eaadfb43d425d0bcdb8bc4d642ee8c38f52e3e/test/intl402/Temporal/PlainDate/prototype/monthCode/chinese-calendar-dates.js#L20
Introduced in https://github.com/tc39/test262/commit/3aa75310772673da078ca1d96fe3b75da0e21bd0, split out from the "old" tests. cc @catamorphism
The full set of tests now failing in V8 due to this change are:
```
intl402/Temporal/PlainDate/prototype/monthCode/chinese-calendar-dates
intl402/Temporal/PlainDateTime/prototype/monthCode/chinese-calendar-dates
intl402/Temporal/PlainMonthDay/prototype/monthCode/chinese-calendar-dates
intl402/Temporal/PlainYearMonth/prototype/monthCode/chinese-calendar-dates
intl402/Temporal/PlainYearMonth/prototype/since/chinese-calendar-dates
intl402/Temporal/ZonedDateTime/prototype/monthCode/chinese-calendar-dates
intl402/Temporal/PlainYearMonth/prototype/since/dangi-calendar-dates
intl402/Temporal/PlainDate/from/dangi-calendar-dates
```
I have not verified that all of these are due to the same type of failure.
The reference implementation is incorrect here: it does not follow the [specced definition](https://tc39.es/proposal-intl-era-monthcode/#table-calendar-types) of the chinese calendar (HKO and PMO publish the same data, iirc).
6 条评论