Time calculation is broken in datetime panel plugin (patch)
Christian Henz
chrhenz at gmx.de
Mon Jun 20 01:44:19 CEST 2022
Hi,
today I built the datetime plugin from master and noticed that it
displayed nonsensical date and time values.
The reason is that in commit dc9e008a55347a22d5d1959a7d34136e78799344
the migration to g_get_real_time() broke the time calculation by mixing
up the units (s/ms/us).
That commit was made over a year ago, but it seems no one has noticed
this? Seems odd for such an obvious issue. Is this plugin deprecated or
something?
Anyway, I have prepared a patch that should fix the issue.
Greetings,
Christian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-time-calculation.patch
Type: text/x-patch
Size: 4294 bytes
Desc: not available
URL: <https://mail.xfce.org/pipermail/xfce4-dev/attachments/20220620/5da2320e/attachment.bin>
More information about the Xfce4-dev
mailing list