GB and GiB #45

Closed
opened 2026-02-05 17:04:50 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @Boy132 on GitHub (May 13, 2024).

Currently, sometimes GB/ MB is used and sometimes GiB/ MiB.
We should pick and use one. As a side note, Docker uses GiB/ MiB. So we might need to convert the values.

Originally created by @Boy132 on GitHub (May 13, 2024). Currently, [sometimes](https://github.com/pelican-dev/panel/blob/main/app/Filament/Resources/NodeResource/Pages/EditNode.php#L149) `GB`/ `MB` is used and [sometimes](https://github.com/pelican-dev/panel/blob/main/app/Filament/Resources/NodeResource/Pages/EditNode.php#L110) `GiB`/ `MiB`. We should pick and use one. As a side note, Docker uses `GiB`/ `MiB`. So we might need to convert the values.
Author
Owner

@lancepioch commented on GitHub (May 14, 2024):

We should be using mebibytes and gibibytes

@lancepioch commented on GitHub (May 14, 2024): We should be using mebibytes and gibibytes
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel-pelican-dev#45