fhorinek / BB

GNU General Public License v2.0
29 stars 15 forks source link

Time stamp in flight log doesn't match time of the flight. #410

Closed scottykarate1 closed 1 year ago

scottykarate1 commented 1 year ago

HW V 22. FW V 283 Date and time are correct when viewed in the D&T section of the System screen. All switches are green and time zone is UTC-8:00. However, when viewing a flight log of a flight at 5:00 PM PST, the time stamp for the flight starts at 0:00 AM. A track viewer (Sportstracklive.com) I uploaded the IGC file to has the correct time stamp. on it. So it might be how/where the log viewer is getting it's time info. Let me know if you need any files from the device

fliescher commented 1 year ago

afaik .igc files need to contain the date/time in UTC format to be FAI-compliant...

fliescher commented 1 year ago

Oh, I think I misunderstood the problem, sorry. So .ich logging is correct but the flightlog-viewer inside the Strato is displaying the wrong time?!

Sorry 😇

bubeck commented 1 year ago

You are probably right. I will take a look at the code and fix it

scottykarate1 commented 1 year ago

Oh, I think I misunderstood the problem, sorry. So .ich logging is correct but the flightlog-viewer inside the Strato is displaying the wrong time?!

Sorry 😇

Yes, that is the issue.

bubeck commented 1 year ago

IGC file spec:

"B" record must be in UTC and in addition there must be a "HFTZNTIMEZONE:+2.00" indicating the timezone relative to UTC.

bubeck commented 1 year ago

HW V 22. FW V 283 Date and time are correct when viewed in the D&T section of the System screen. All switches are green and time zone is UTC-8:00. However, when viewing a flight log of a flight at 5:00 PM PST, the time stamp for the flight starts at 0:00 AM. A track viewer (Sportstracklive.com) I uploaded the IGC file to has the correct time stamp. on it. So it might be how/where the log viewer is getting it's time info. Let me know if you need any files from the device

Just to make sure, that the bug is fixed, could you please provide the igc? You can send me via email at tilmann AT bubecks.de

scottykarate1 commented 1 year ago

Here you go On Wednesday, November 2, 2022 at 12:09:56 PM PDT, Dr. Tilmann Bubeck @.***> wrote:

HW V 22. FW V 283 Date and time are correct when viewed in the D&T section of the System screen. All switches are green and time zone is UTC-8:00. However, when viewing a flight log of a flight at 5:00 PM PST, the time stamp for the flight starts at 0:00 AM. A track viewer (Sportstracklive.com) I uploaded the IGC file to has the correct time stamp. on it. So it might be how/where the log viewer is getting it's time info. Let me know if you need any files from the device

Just to make sure, that the bug is fixed, could you please provide the igc? You can send me via email at tilmann AT bubecks.de

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>