On Fri, Apr 26, 2024 at 3:39 PM Scott Pakin <
scot...@pakin.org> wrote:
>
> While parsing output from some third-party program, I discovered that time.ParseDuration does not accept inputs expressed in scientific notation even though strconv.ParseFloat does accept such inputs. Here’s an playground example demonstrating this limitation:
https://go.dev/play/p/G-1FveHxpZ3.
>
> Any chance ParseDuration could be enhanced to accept the same numerical values as ParseFloat?
The first step would be to open a proposal for this change. See
. Thanks.