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

Incorrect access of [[HoursValue]] and [[SecondsValue]] of durationFormat in PartitionDurationFormatPattern #190

Closed
FrankYFTang opened this issue Apr 10, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@FrankYFTang
Copy link
Collaborator

This bug is introduced in #180

There are no [[SecondsValue]] nor [[HoursValue]] defined in
https://tc39.es/proposal-intl-duration-format/#sec-properties-of-intl-durationformat-instances

But in https://tc39.es/proposal-intl-duration-format/#sec-partitiondurationformatpattern
1.1.8 PartitionDurationFormatPattern ( durationFormat, duration )

step 9-j-i-2

2. Let hoursValue be durationFormat.[[HoursValue]].

and step 9-j-i-3-b

b. Let secondsValue be durationFormat.[[SecondsValue]].

this is not implementable.

@FrankYFTang
Copy link
Collaborator Author

@ben-allen @ryzokuken

@FrankYFTang
Copy link
Collaborator Author

@sffc

@ben-allen
Copy link
Collaborator

Marking as closed, since this issue is fixed by #188

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants