fix method call for time to string
This commit is contained in:
parent
b940273133
commit
e5793ec38c
@ -26,6 +26,11 @@ class Utils extends Facade
|
||||
return self::secondsToTimeParts(self::minutesToSeconds($minutes));
|
||||
}
|
||||
|
||||
public static function minutesToTimeString($minutes): string
|
||||
{
|
||||
return self::secondsToTimeString(self::minutesToSeconds($minutes));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert seconds to an array of hours, minutes, seconds
|
||||
* @param $seconds
|
||||
|
@ -33,7 +33,7 @@
|
||||
{!! $pirep->arr_airport->icao !!}
|
||||
</div>
|
||||
<div><span class="description">Flight Time </span>
|
||||
{!! Utils::secondsToTime($pirep->flight_time) !!}
|
||||
{!! Utils::minutesToTimeString($pirep->flight_time) !!}
|
||||
</div>
|
||||
<div><span class="description">Aircraft </span>
|
||||
{!! $pirep->aircraft->registration !!} ({!! $pirep->aircraft->name !!})
|
||||
|
Loading…
Reference in New Issue
Block a user