Ship fractionalSecondDigits option to Intl.DateTimeFormatShip
I2S https://groups.google.com/a/chromium.org/forum/#!searchin/blink-dev/fractionalSecondDigits%7Csort:date/blink-dev/ISa0b6fOefY/pBlgkvZhBAAJ I2P https://groups.google.com/a/chromium.org/forum/#!searchin/blink-dev/Intent$20to$20Implement$3A$20Add$20millisecondDigits$20option$20to$20Intl.DateTimeFormat%7Csort:date/blink-dev/WXd9nh03a1M/z7QeIMgrBgAJ Chrome Status: https://www.chromestatus.com/feature/5704965743968256 Latest spec: https://github.com/tc39/ecma402/pull/347 LGTMs: bratell.d@gmail.com / chrishtr@chromium.org / mkwst@chromium.org Bug: v8:9284 Change-Id: I4d2cca515ce65d41b38ebdef00b429fa873ea624 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2116989 Commit-Queue: Frank Tang <ftang@chromium.org> Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Cr-Commit-Position: refs/heads/master@{#67381}
This commit is contained in:
parent
cdea7999a8
commit
b4e4d4150b
@ -239,8 +239,6 @@ DEFINE_IMPLICATION(harmony_weak_refs_with_cleanup_some, harmony_weak_refs)
|
||||
HARMONY_STAGED_BASE(V) \
|
||||
V(harmony_intl_dateformat_day_period, \
|
||||
"Add dayPeriod option to DateTimeFormat") \
|
||||
V(harmony_intl_dateformat_fractional_second_digits, \
|
||||
"Add fractionalSecondDigits option to DateTimeFormat") \
|
||||
V(harmony_intl_segmenter, "Intl.Segmenter")
|
||||
#else
|
||||
#define HARMONY_STAGED(V) HARMONY_STAGED_BASE(V)
|
||||
@ -258,8 +256,10 @@ DEFINE_IMPLICATION(harmony_weak_refs_with_cleanup_some, harmony_weak_refs)
|
||||
V(harmony_weak_refs, "harmony weak references")
|
||||
|
||||
#ifdef V8_INTL_SUPPORT
|
||||
#define HARMONY_SHIPPING(V) \
|
||||
HARMONY_SHIPPING_BASE(V) \
|
||||
#define HARMONY_SHIPPING(V) \
|
||||
HARMONY_SHIPPING_BASE(V) \
|
||||
V(harmony_intl_dateformat_fractional_second_digits, \
|
||||
"Add fractionalSecondDigits option to DateTimeFormat") \
|
||||
V(harmony_intl_displaynames, "Intl.DisplayNames")
|
||||
#else
|
||||
#define HARMONY_SHIPPING(V) HARMONY_SHIPPING_BASE(V)
|
||||
|
@ -71,6 +71,7 @@ var expectedProperties = [
|
||||
'minute',
|
||||
'second',
|
||||
'timeZoneName',
|
||||
'fractionalSecondDigits',
|
||||
];
|
||||
|
||||
assertEquals(expectedProperties.length, properties.length);
|
||||
|
@ -62,6 +62,10 @@
|
||||
# https://bugs.chromium.org/p/v8/issues/detail?id=4709
|
||||
'language/expressions/assignment/fn-name-lhs-cover': [FAIL],
|
||||
|
||||
# https://github.com/tc39/test262/issues/2591
|
||||
'intl402/DateTimeFormat/prototype/resolvedOptions/order': ['--no-harmony-intl_dateformat_fractional_second_digits'],
|
||||
'intl402/DateTimeFormat/prototype/resolvedOptions/order-dayPeriod': ['--no-harmony-intl_dateformat_fractional_second_digits'],
|
||||
|
||||
# https://bugs.chromium.org/p/v8/issues/detail?id=9084
|
||||
'intl402/supportedLocalesOf-consistent-with-resolvedOptions': [FAIL],
|
||||
'intl402/fallback-locales-are-supported': [FAIL],
|
||||
|
Loading…
Reference in New Issue
Block a user