Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added tests for invalid combinations of DurationFormat style options #3952

Merged
merged 1 commit into from
Jan 10, 2024

Conversation

ben-allen
Copy link
Contributor

@ben-allen ben-allen commented Oct 27, 2023

Use of "long", "short", or "narrow" styles after units with "numeric" or "2-digit" styles should throw.

address tc39/proposal-intl-duration-format#64

@ben-allen ben-allen requested a review from a team as a code owner October 27, 2023 16:53
@ben-allen ben-allen force-pushed the duration-format-style-conflicts branch from 6019c0c to c14049a Compare October 30, 2023 12:47
Copy link
Contributor

@anba anba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM and I've verified all tests pass with an implementation of the latest spec draft.

Copy link
Contributor

@Ms2ger Ms2ger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm happy to trust anba here

… for units following units using "numeric" or "2-digit" styles throws
@Ms2ger Ms2ger force-pushed the duration-format-style-conflicts branch from c14049a to d5be81e Compare January 10, 2024 13:47
@Ms2ger Ms2ger enabled auto-merge (rebase) January 10, 2024 13:47
@Ms2ger Ms2ger merged commit 80590ce into tc39:main Jan 10, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants