mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 05:23:31 -07:00
Actually fixed size parsing this time
This commit is contained in:
parent
8921c45a96
commit
a9dd2d2f04
3 changed files with 14 additions and 6 deletions
|
@ -26,12 +26,12 @@ namespace NzbDrone.Core
|
|||
|
||||
public static Int64 Megabytes(this int megabytes)
|
||||
{
|
||||
return megabytes * 1048576L;
|
||||
return Convert.ToInt64(megabytes * 1024L *1024L);
|
||||
}
|
||||
|
||||
public static Int64 Gigabytes(this int gigabytes)
|
||||
{
|
||||
return gigabytes * 1073741824L;
|
||||
return Convert.ToInt64(gigabytes * 1024L * 1024L * 1024L);
|
||||
}
|
||||
|
||||
public static string ToBestDateString(this DateTime dateTime)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue