Skip to content

Conversation

@leeyc924
Copy link

Fix issue where weeks were being converted to days in ISO duration strings. Now weeks are preserved as a separate unit in the output, conforming to ISO 8601 standard.

Fixes #2859

Fix issue where weeks were being converted to days in ISO duration strings. Now weeks are preserved as a separate unit in the output, conforming to ISO 8601 standard.

Fixes [iamkun#2859](iamkun#2859)
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.

Calling toISOString on a Duration object does not return weeks

1 participant