parse_duration icon indicating copy to clipboard operation
parse_duration copied to clipboard

Negative decimal point number of less than 1 parsed as positive

Open yoav-steinberg opened this issue 4 years ago • 0 comments

    assert_eq!(
        parse_duration::parse("-0.1 days"),
        Ok(Duration::from_secs(8640))
    );

Should fail with OutOfBounds sign minus.

yoav-steinberg avatar Aug 20 '20 12:08 yoav-steinberg