Closed jpearll closed 3 years ago
Hi
There is a bug when I format the output of the following units:
label := units.NewValue(30, units.Minute).Fmt(units.FmtOptions{Label: true, Short: true})
the label output is
"3 min" instead of "30 min"
Thanks for reporting this; resolved now in https://github.com/bcicen/go-units/pull/14
Hi
There is a bug when I format the output of the following units:
label := units.NewValue(30, units.Minute).Fmt(units.FmtOptions{Label: true, Short: true})
the label output is
"3 min" instead of "30 min"