tc39 / proposal-intl-duration-format

https://tc39.es/proposal-intl-duration-format
MIT License
165 stars 18 forks source link

question about `maxTimeDuration` for `Intl.DurationFormat` #206

Closed sosukesuzuki closed 2 months ago

sosukesuzuki commented 3 months ago

Why doesn't Intl.DurationFormat have a validation by maxTimeDuration unlike Tempolra.Duration?

sffc commented 3 months ago

Duplicate of https://github.com/tc39/proposal-intl-duration-format/issues/199?

@ben-allen

ben-allen commented 2 months ago

As of https://github.com/tc39/proposal-intl-duration-format/pull/173 we've checked for durations above the maximum in IsValidDuration. I believe #173 closes this issue and #199, unless I'm misunderstanding the question. @sosukesuzuki

sosukesuzuki commented 2 months ago

I was not aware of that PR change, at least my question to you is now resolved.Thank you.