lib/models/trip_leg.rb in fossil-0.3.27 vs lib/models/trip_leg.rb in fossil-0.3.28
- old
+ new
@@ -709,10 +709,10 @@
def pic_crew; pilot_crew(:pic); end
def sic_crew; pilot_crew(:sic); end
def ebt_time
minutes_between = (planned_arrival_date_time_gmt - planned_departure_date_time_gmt)/60;
- Time.from_fos_time(minutes_between)
+ Time.from_minutes(minutes_between)
end
#### aliases and special methods #####
# This method guarantees an icao for a view that needs one. If there is an icao, use it, otherwise make
# it from the prefix and airport_id .. which works as an icao, but beware, because these put together
\ No newline at end of file