You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know javascript that I think u use in this project, but since it is quite clean code, I think instead of using flight.date from origin u can use it from destination
LTN (London Luton) to KTW (Katowice) - W62702
✈️ Departure: 9:40 pm (UTC+1)
✈️ Departure: 6:05 am (UTC+1)
🛬 Arrival: 1:20 am (UTC+2)
⏱️ Duration: 03h 40m
Return Flights (1 found)
Katowice to London Luton - W61001
Date: 27/10/2024
🛬 Arrival: 7:35 am (UTC)
⏱️ Duration: 01h 30m
🕒 Time until return: 1 days and 5 hours
Since flight starts at 21:40 and arrives 01.20 (next day), 06.05 is 5 hours difference not a day and 5 hours
So better to use arrival time for calculation
The text was updated successfully, but these errors were encountered: