Skip to content

Commit

Permalink
mb/MB
Browse files Browse the repository at this point in the history
  • Loading branch information
tsaridas committed Jan 26, 2024
1 parent 24730f9 commit b27e080
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const helper = {
toHomanReadable: (bytes) => {
if (Math.abs(bytes) < 1024) { return bytes + ' B'; }

const units = ['kB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'];
const units = ['kb', 'mb', 'gb', 'tb'];

let i = -1;
do {
Expand Down Expand Up @@ -65,7 +65,7 @@ const helper = {
},

normalizeTitle: (title) => {
let name = '👤 11/2 💾 2GB ⚙️ rarbg';
let name = '👤 11/2 💾 2 gb ⚙️ rarbg';
const title_list = title.split("\n");
title_list.forEach(element => {
if (element.includes("👤")) {
Expand Down

0 comments on commit b27e080

Please sign in to comment.