Accessing order of fractionalSecondDigits should be earlier than timeZoneName

In this PR[1], fractionalSecondDigits is listed earlier than timeZoneName in table 6[2].
So, accessing order of fractionalSecondDigits in [3]'s step-29 should be earlier than timeZoneName.

[1]: https://github.com/tc39/ecma402/pull/347
[2]: https://tc39.es/ecma402/#sec-datetimeformat-abstracts
[3]: https://tc39.es/ecma402/#sec-initializedatetimeformat
This commit is contained in:
Yusuke Suzuki 2020-08-26 12:38:29 -07:00 committed by Rick Waldron
parent c64db438df
commit 8060bba447
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,5 @@
// Copyright 2019 Googe Inc. All rights reserved.
// Copyright 2020 Apple Inc. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
@ -31,9 +32,8 @@ const expected = [
"localeMatcher",
// InitializeDateTimeFormat step 22.
"second",
"timeZoneName",
// InitializeDateTimeFormat step 23.
"fractionalSecondDigits",
"timeZoneName",
// InitializeDateTimeFormat step 26.
"formatMatcher",
];