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
Fix an incorrect usage of strip which caused bad formats to be read #77
Conversation
@akariv could you please explain the use case? |
This is a simple bug:
e.g. |
@akariv |
@akariv Interesting catch. Changing Edit: Nevermind, |
3a0a490
to
0cfc326
Compare
@vitorbaptista not necessarily as |
0cfc326
to
4cb3112
Compare
@@ -69,7 +69,7 @@ def __init__(self, field=None): | |||
self.__format_fmt = None | |||
if self.__format.startswith('fmt'): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@akariv
I suppose here we also need fix fmt:
instead of fmt
- to avoid things like fmtX%y-%m
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
True. Fixed.
4cb3112
to
c3020e4
Compare
more to the point, we need to remove |
@pwalsh |
@akariv |
No description provided.