When I log calls in CQRLog it seems to be using the local system time. Most other logging programs I've used log call in UTC or GMT, am I doing something wrong or is this a bug?
Sun, 2011-06-05 14:57
#1
CQRLog doesnt use UTC
Hi Dave,
no, it's not a bug is a feature :), but I agree no so good feature. It's also on my todo list. I wanted to fix it into 1.0.0 but it seems to be not so easy and there is hig possibility that I make a mistake, I decided to do it after 1.0.0 release. So please stay tuned. Thank you!
73 Petr, OK2CQR
--
http://HamQTH.com/ok2cqr
https://ok2cqr.com
Ok I'll keep readjusting my PC clock on login until you add this feature ;-) Thanks.
73'd De Dave, G8FXM O/S Linux Mint 18.1 KDE Plasma 64 bit g8fxm@uksmg.org
Since CQRLog now uses MySQL as the database back-end, would it be possible for CQRLog to simply ask MySQL for the time every hour at the top of the hour, to see if the UTC offset changed?
Yes, this is ugly - but since Pascal/Delphi/Lazarus do not seem to provide an API to get UTC, there may not be much of a choice...
This may need to be a "get UTC offset from MySQL" config option, since some people may not have proper timezones configured on their system (having the BIOS at localtime and their system at offset 0000).
Yes, FreePascal has api for that. I'm going to add to new version, soon.
73 Petr, OK2CQR
--
http://HamQTH.com/ok2cqr
https://ok2cqr.com