asammdf icon indicating copy to clipboard operation
asammdf copied to clipboard

GUI shows UTC time instead of PC time in 7.0.7

Open MatinF opened this issue 3 years ago • 2 comments

Expected behavior When displaying the absolute time & date in the GUI, the usual behavior in previous asammdf versions has been to display the PC time, which makes it easy to interpret the data regardless of where it was recorded.

Actual behavior In asammdf 7.0.7 and more recent dev versions, the time is instead displayed as UTC. It would be great to fix this so it is again PC time.

MatinF avatar Mar 10 '22 09:03 MatinF

Hello Martin,

were is this visible?

danielhrisca avatar Mar 23 '22 14:03 danielhrisca

It's visible in the tabular display when showing absolute date and time - see e.g. attached log file where you should be able to see that it shows in UTC in 7.0.7, while older versions would show localized PC time.

00000008-5F11686D.zip

MatinF avatar Mar 23 '22 14:03 MatinF

@MatinF the development branch seems to display it correctly now

image image

danielhrisca avatar Sep 01 '22 07:09 danielhrisca

Hi Daniel, it looks like it's not yet fixed in the dev version.

The timestamps are currently not localized by PC time, but rather shown in their original form. In the log file example you have, this means the date and time is shown in UTC (GMT+0.00). In earlier versions of asammdf, the date and time would be localized so that in the case of Denmark I'd see "+02:00" next to each timestamp and the timestamps in your picture would be 10:56:12.

Hope clear

MatinF avatar Sep 01 '22 12:09 MatinF

@MartinF please check the development branch for the time stamp localization in the tabular windows

danielhrisca avatar Sep 15 '22 07:09 danielhrisca

Thanks a lot, this is resolved for me in the latest dev version!

I think the main outstanding prior to a new release for us after this is the J1939 invalid signals issue

MatinF avatar Sep 15 '22 10:09 MatinF