Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

deordinalize fails on non-numbers #82

Open
droundy opened this issue Dec 16, 2021 · 0 comments
Open

deordinalize fails on non-numbers #82

droundy opened this issue Dec 16, 2021 · 0 comments

Comments

@droundy
Copy link

droundy commented Dec 16, 2021

Just glancing at the code, deordinalizing "last" would give "la". Similarly, "first" would give "fir", while I would have expected it to give "1".

To me this definitely qualifies as a bug. Not sure what the correct behavior is, but at a minimum this should be documented. Ideally it wouldn't affect words that are not actually ordinals.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant