International Date Line

Started by Sami, October 06, 2009, 11:57:06 PM

Sami

Noticed a small bug in local time conversions when passing the Intl. Date line ... (= occurs only in very rare cases, mainly when you move over the date line so that you actually depart back on earlier (local) day than you originally set off from your home base .. hard to explain - http://upload.wikimedia.org/wikipedia/commons/6/61/International_Date_Line.png)

I've worked a fix for this and am about to add the date line info to the route open/edit menus too. But my brains are a bit tired so please check for me that the calculations are correct ..

Example #1. Depart monday 00.00 from PNHL, travel west to Tonga (other side of the date line). Arrive 6.5 hours later to Tonga and we have crossed the date line, so it is tuesday there (travelling west - add 24hrs). Depart from Tonga is then on Tuesday! But arrive back to PHNL on Monday local time!  Total trip time is 15 hours.


Example #2. Depart monday 00.00 from YSSY, travel east to PHNL and crossing the date line again. Arrival 10 hrs later, but local weekday is Sunday as we crossed the line to east, subtract 24hrs! So depart back from PHNL is a day earlier in local time than what we departed from YSSY...


Schedulingwise there is nothing new as that's done according to the flight times / UTC times, the only change is to the slots and local days of operation in some cases. And most of these work already now just fine, there are just some rare cases when flying to the Oceanic area where this change may yield to a wrong local day.



[attachment deleted by admin]