Skip to content

Don't output 1000 kB for 1.0 MB #127

Open
@pjakubik

Description

@pjakubik

When the bytes round up to 1.0 of the next higher unit, humanize.Bytes will produce strings like 1000 kB or 1024 KiB instead of 1.0 MB or 1.0 MiB.

I will submit a pull request with a fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions