number-parser icon indicating copy to clipboard operation
number-parser copied to clipboard

First day is not 1 day or second day is not 2 day

Open prabhatM opened this issue 3 years ago • 2 comments

Hi,

We can't really use "First day as 1 day or second day as 2 day" in real life context. For this reason we can't use this wonderful library.

Please leave them as they are or think of an alternative. Temporarily, give us an exception list option.

Prabhat

prabhatM avatar Jul 17 '21 21:07 prabhatM

I think it would make sense to allow specifying via parse parameter types of numbers to convert (i.e. those for which we provide specific functions: ordinal, fraction, etc.).

Gallaecio avatar Jul 18 '21 18:07 Gallaecio

Hi!

Can we have First as 1st and then, 1st as first after conversion?

Same goes for 2nd, 3rd,...19th..... and "One" as 1, two as "2"...

If you give us a provision for a user dict, then we can use {"1st":"first","2nd":"second","3rd":"third"}.... and process for the time being...

prabhatM avatar Aug 27 '21 19:08 prabhatM