danielhrisca / asammdf

Fast Python reader and editor for ASAM MDF / MF4 (Measurement Data Format) files
GNU Lesser General Public License v3.0
655 stars 226 forks source link

Mdf3 Measurement Start Time Time Zone Error #1072

Open simonkimi opened 2 months ago

simonkimi commented 2 months ago

I created an MDF3 file by other lib with a timestamp of 1724919722589439100, which corresponds to my local time of 2024-08-29 16:22:02 [GMT+8, no DST]. According to MDF3 definition, with an 8-hour offset, the written timestamp should be 1724948522589439100.

However, in asammdfgui4.5.0.dev, the displayed time is 30-Aug-2024 00:22:02 + 589439u [GMT+8.00 DST+0.00h], which is 8 hours ahead of the actual time, seemingly not accounting for the time zone difference.

362599984-ef177d23-2234-429c-87c1-c63ac09174d5

图片