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

Convert method not working when number separated by a hyphen #29

Open
isag91 opened this issue May 19, 2020 · 0 comments
Open

Convert method not working when number separated by a hyphen #29

isag91 opened this issue May 19, 2020 · 0 comments

Comments

@isag91
Copy link

isag91 commented May 19, 2020

When the input to the convert_to_digits function contains numbers separated by hyphens, only the last number will be returned. This is an issue for dates, for instance.

t2d.convert('11-08-1998')
'1998'
t2d.convert('1939-45')
'45'

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

1 participant