No newline at end of file #0

git-svn-id: svn+ssh://code.netmonsters.ru/svn/majestic/trunk@106 4cb57b5f-5bbd-dd11-951b-001d605cbbc5
This commit is contained in:
aterekhov
2009-10-25 21:39:16 +00:00
parent c7c1c95f49
commit 4d493cc579
19 changed files with 65 additions and 65 deletions

View File

@ -191,7 +191,7 @@ class Format
}
return '';
}
/**
* Байты в мегабайты
* @param int $bytes
@ -202,7 +202,7 @@ class Format
$mb = number_format((int) $bytes / 1024 / 1024, 2, '.', '');
return preg_replace("/(\.?)0+$/", "", $mb) . 'МБ';
}
/**
* Байты в килобайты
* @param int $bytes
@ -219,4 +219,4 @@ class Format
* Оффсет с учетом летнего/зимнего времени
*/
Format::setTimezoneOffset(date('Z') - ((date('I') ? 60*60 : 0 )));
?>
?>