-
Notifications
You must be signed in to change notification settings - Fork 603
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
Number: parse literals #353
Comments
Not beautiful, but this should fix globalizejs#353 for now. Also see rails/rails#15300.
Hi, @rxaviers This bug is open on year 2014. Any updates on it? |
The project is out of resources and is relying on external contribution to get this feature implemented. Having said that, this feature is still open to be included. If you're willing to contribute it, I can provide further any guidance you may need to get up to speed. Thanks. |
@rxaviers Could you provide some resources and ideas about how to implement this? Besides, do you have some workaround on this? |
The workaround is to do any parsing at user land and pass a number only to numberParser, which isn't great. I've updated one resource link in the description. Please, let me know what you think after going through them. One file that will need change is Please, just let me know if you have any further questions. |
- Correctly handles prefix and suffix literals; #353; - Loose Matching: This implementation is now much closer to UTS#35 7.1.2 Loose Matching http://unicode.org/reports/tr35/#Loose_Matching and fixes all reported cases that related to it, including #288; - Regression: Drop scientific notation parsing support, which wasn't documented anyway and shall be implemented by #533. Ref #292 Fixes #353 Fixes #46 Fixes #288 Fixes #443 Fixes #457 Fixes #492 Fixes #587 Fixes #644
PR #656 in place :) |
- Correctly handles prefix and suffix literals; #353; - Loose Matching: This implementation is now much closer to UTS#35 7.1.2 Loose Matching http://unicode.org/reports/tr35/#Loose_Matching and fixes all reported cases that are related to it, including #288; - Regression: Drop scientific notation parsing support, which wasn't documented anyway and shall be implemented by #533. Ref #292 Fixes #353 Fixes #46 Fixes #288 Fixes #443 Fixes #457 Fixes #492 Fixes #587 Fixes #644
- Correctly handles prefix and suffix literals; #353; - Loose Matching: This implementation is now much closer to UTS#35 7.1.2 Loose Matching http://unicode.org/reports/tr35/#Loose_Matching and fixes all reported cases that are related to it, including #288; - Regression: Drop scientific notation parsing support, which wasn't documented anyway and shall be implemented by #533. Ref #292 Fixes #353 Fixes #46 Fixes #288 Fixes #443 Fixes #457 Fixes #492 Fixes #587 Fixes #644
- Correctly handles prefix and suffix literals; #353; - Loose Matching: This implementation is now much closer to UTS#35 7.1.2 Loose Matching http://unicode.org/reports/tr35/#Loose_Matching and fixes all reported cases that are related to it, including #288; - Regression: Drop scientific notation parsing support, which wasn't documented anyway and shall be implemented by #533. Ref #292 Fixes #353 Fixes #46 Fixes #288 Fixes #443 Fixes #457 Fixes #492 Fixes #587 Fixes #644
Handle literals when parsing numbers. E.g.,
Test:
References:
src/date/token*
andsrc/date/parse*
. Look at https://github.com/jquery/globalize/blob/0b85f34dc1a47bc2b9c6f8bbed15a7b7b8f4752f/src/date/tokenizer.js#L369-L376.The text was updated successfully, but these errors were encountered: