code formatting
This commit is contained in:
parent
f273d71708
commit
b08d4dac0c
|
@ -472,21 +472,14 @@ namespace Core.Helper
|
|||
|
||||
if (minutes > 0)
|
||||
{
|
||||
if (
|
||||
(days == 0) ||
|
||||
(days > 0 && hours == 0)
|
||||
)
|
||||
if (days == 0 || (days > 0 && hours == 0))
|
||||
{
|
||||
result += " ";
|
||||
result += minutes.ToString() + "m";
|
||||
}
|
||||
}
|
||||
|
||||
if (
|
||||
(days == 0 && hours == 0) ||
|
||||
(days > 0 && hours == 0 && minutes == 0) ||
|
||||
(days == 0 && hours > 0 && minutes == 0)
|
||||
)
|
||||
if ((days == 0 && hours == 0) || (days > 0 && hours == 0 && minutes == 0) || (days == 0 && hours > 0 && minutes == 0))
|
||||
{
|
||||
result += " ";
|
||||
result += seconds.ToString() + "s";
|
||||
|
|
Loading…
Reference in New Issue