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

parseZonedDateTime breaks on valid ISO 8601 String #7469

Open
daninus14 opened this issue Dec 4, 2024 · 0 comments
Open

parseZonedDateTime breaks on valid ISO 8601 String #7469

daninus14 opened this issue Dec 4, 2024 · 0 comments

Comments

@daninus14
Copy link

Provide a general summary of the issue here

parseZonedDateTime breaks on valid ISO 8601 String

🤔 Expected Behavior?

It should properly parse any ISO 8601 String per the documentation

This includes functions to parse ISO 8601 strings

😯 Current Behavior

It breaks

💁 Possible Solution

Add microseconds parsing

🔦 Context

No response

🖥️ Steps to Reproduce

Use this string 2024-12-02T07:00:00.000000+02:00 to produce this error

Uncaught Error: Invalid ISO 8601 date string: 2024-12-02T07:00:00.000000+02:00

parseZonedDateTime("2024-12-02T07:00:00.000000+02:00")

Version

"@adobe/react-spectrum": "^3.34.1"

What browsers are you seeing the problem on?

Chrome

If other, please specify.

No response

What operating system are you using?

macOS

🧢 Your Company/Team

No response

🕷 Tracking Issue

No response

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

No branches or pull requests

1 participant