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

It seems that minus sign is not allowed in dates #38

Open
LemmingAvalanche opened this issue Oct 24, 2021 · 2 comments
Open

It seems that minus sign is not allowed in dates #38

LemmingAvalanche opened this issue Oct 24, 2021 · 2 comments

Comments

@LemmingAvalanche
Copy link

ISO 8601 prefers using minus sign (U+2212 MINUS SIGN, ) to represent a negative offset according to Wikipedia. Hyphen minus is also allowed (U+002D HYPHEN-MINUS, -). But it seems that the parser only accepts hyphen minus.

@badboy
Copy link
Owner

badboy commented Oct 24, 2021

The code lives here.
We will need a new function to match the different minus signs just for the timezone..
Care to submit a PR?

@LemmingAvalanche
Copy link
Author

PR not forthcoming.

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

2 participants