This commit is contained in:
hamid zarghami
2025-07-08 08:56:45 +03:30
parent 47feb1472e
commit 9d0a1703fe
16 changed files with 382 additions and 53 deletions
+5
View File
@@ -59,3 +59,8 @@ export const timeAgo = (date: string | Date): string => {
return "همین الان";
};
export const convertToGB = (bytes: number): string => {
const GB = bytes / (1024 * 1024 * 1024);
return GB.toFixed(2);
};