-
Notifications
You must be signed in to change notification settings - Fork 157
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
TODO: Create APIs for parsing and formatting #13
Comments
Feedback from Bloomberg POV: We currently only rely on parsing the RFC3339 style ISO8601 profile string (e.g. "1985-04-12T23:20:50.52Z"). (We do this using up to microsecond resolution in the We do not have any need for a "parsed date" object and I think it might just serve to confuse people. I'd go so far as to say that most C/C++ application code I've come across that decides to use |
I tend to agree that ISO8601 parsing is most important if we want to have any parsing at all built-in. Building any other parsing on top of it should likely be delegated to libraries since there is essentially an infinite amount of things that people might want to parse and it seems impossible to handle all of that in a native implementation. |
I think it would be important to call out if only the RFC3339 subset is supported from a spec point of view. Unless engines have consensus that something like ICU will be used across the board, I don't think it is reasonable to support all the various formats ISO8601 supports. |
I mentioned |
I think the consensus here is that this proposal will handle ISO8601 and other format will for now have to be handled at later times. Closing this for the sake of being able to understand active issues. |
How do we want to handle date parsing? Is it part of this proposal? 402? Some of both depending on if the date is ISO8601/RFC2822 or a local format?
Should there be a separate parsing object that returns a 'parsed date' object?
The text was updated successfully, but these errors were encountered: