Reduce the long if/else statement and address a bug pertaining to max time lengths. A max integer size is required here in order to prevent time integer overflow. To easily reduce, accepting unit abbreviation only, would allow us to simplify. I do, however, prefer multiple unit support.
Reduce the long if/else statement and address a bug pertaining to max time lengths. A max integer size is required here in order to prevent time integer overflow. To easily reduce, accepting unit abbreviation only, would allow us to simplify. I do, however, prefer multiple unit support.