ecma402 icon indicating copy to clipboard operation
ecma402 copied to clipboard

Operations specific to DateTimeFormat should have names indicating that

Open gibson042 opened this issue 10 months ago • 1 comments

(originally posted by @gibson042 in https://github.com/tc39/ecma402/pull/923#discussion_r1797727493)

e.g., {Basic,BestFit}Matcher → DateTimeFormat{Basic,BestFit}Matcher

gibson042 avatar Feb 18 '25 15:02 gibson042

Maybe keep "FormatMatcher" together to match the constructor option "formatMatcher"? That means: {Basic,BestFit}DateTimeFormatMatcher.

Intl.DateTimeFormat is currently the only Intl constructor which accepts a "formatMatcher" option, so there's no latent ambiguity about the name.

anba avatar Feb 18 '25 15:02 anba