Open winterblues opened 3 years ago
text = "6, 2020" t2d = text2digits.Text2Digits(convert_ordinals=True, add_ordinal_ending=False) result = t2d.convert(text)
"12120"
I would have expected that the string is unchanged.
version used: 0.1.0
"6, 2021" --> "6, 2021" (as expected) "6, 20" --> "6, 20" (as expected)
but:
"6, 1010" --> "6060"
text = "6, 2020" t2d = text2digits.Text2Digits(convert_ordinals=True, add_ordinal_ending=False) result = t2d.convert(text)
I would have expected that the string is unchanged.
version used: 0.1.0