react-spectrum
326f4815 - fix: remove min/max limits for all segments in `parseDuration` (#7064)

Commit
272 days ago
fix: remove min/max limits for all segments in `parseDuration` (#7064) * fix: remove hours limit for parseDuration - Removes 23-hour limit on duration parsing - Allows parsing of durations like "PT36H" to work correctly - Aligns behavior with Temporal.Duration spec which has no upper limit on hours * fix: remove min, max limit of all segments * test: unify duration parsing test for all segments exceeding calendar constraints
Author
Parents
Loading