Skip to content

fix(OC_Helper): Use correct binary notation for calculating human file sizes - #47711

Closed
provokateurin wants to merge 1 commit into
masterfrom
fix/oc_helper/human-file-size-notation
Closed

fix(OC_Helper): Use correct binary notation for calculating human file sizes#47711
provokateurin wants to merge 1 commit into
masterfrom
fix/oc_helper/human-file-size-notation

Conversation

@provokateurin

Copy link
Copy Markdown
Member

Summary

Follows proper IEC 60027-2 notation.

Checklist

…e sizes
Signed-off-by: provokateurin <kate@provokateurin.de>
@provokateurin
provokateurinforce-pushed the fix/oc_helper/human-file-size-notation branch from 55e5dc0 to 057ca1aCompareSeptember 3, 2024 12:27
@provokateurinprovokateurin changed the title fix(OC_Helper): Use correct binary notation for calculating humand file sizesfix(OC_Helper): Use correct binary notation for calculating human file sizesSep 3, 2024
@provokateurin

Copy link
Copy Markdown
MemberAuthor

/backport to stable30

@provokateurin

Copy link
Copy Markdown
MemberAuthor

/backport to stable29

@provokateurin

Copy link
Copy Markdown
MemberAuthor

/backport to stable28

@provokateurin

Copy link
Copy Markdown
MemberAuthor

Hm so nextcloud-libraries/nextcloud-files#822 sounds like this is intended. @susnux is this PR wrong?
I mean it is technically correct, but it seems the convention in Nextcloud is different (which I don't agree with but ok).

@provokateurin

Copy link
Copy Markdown
MemberAuthor

Ok let's just stick to the wrong but established notation.

@provokateurin
provokateurin deleted the fix/oc_helper/human-file-size-notation branch September 3, 2024 13:04
@susnux

Copy link
Copy Markdown
Contributor

@provokateurin yes it was decided not to confuse existing users by switch the naming schema: #40621

In general it is a bit difficult, most users are spoiled by Windows using the wrong notation. But then there is Mac which is even weirder.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@provokateurin@susnux@AndyScherzinger