Open isag91 opened 4 years ago
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.
convert_to_digits
t2d.convert('11-08-1998') '1998' t2d.convert('1939-45') '45'
t2d.convert('11-08-1998')
'1998'
t2d.convert('1939-45')
'45'
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'