-
Notifications
You must be signed in to change notification settings - Fork 210
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
Missing DateTime Parser Tests #119
Comments
You know - I just added a new format, and put in a PR. And I went looking for the test. But didn't find one. But what does it prove? It's more of a test of the time package - which is well tested. |
I've been considering making date parsing optional, and perhaps having two degrees:
I'm a bit concerned about the date parsing penalty people pay on parsing, when they may not even need/want it. |
I for one lean heavily into what you have provided. I am dealing with nearly 700 feeds now. The format I put in today, was the first failure I have seen on the date parsing. Might be others I have missed, but that is in place is pretty darned good. Expensive to be sure, but worth it for me. As long as there is a way to engage it. Given the other processing I do, those date formats are the least of my worries, if I get a valid date out the other side. Here is a thought, throw a mutex in there, and perform a move to the front, on matching format string. Even in a multi threaded env, the hot matches will stay on top, and over the course of parsing one or more feeds simultaneously, you will only pay for the deep dive infrequently. |
We are missing comprehensive tests for the date/time parser.
Ideally, these would cover a myriad of date formats, including those with / without timezone, etc.
The text was updated successfully, but these errors were encountered: