while running the script side-by side with panel clock as shown in my above post, I noticed that sometimes the clock is in sync and is slowly growing in error, smoothly approximating -1 sec lateness, then it skips '59' and says '58 .. 00'.
So the exact bug is that it seems to be showing a periodical lateness (0..1) sec, averaging at somewhat later that 0.5 sec since most of the time it seems to be about 1 sec late at least on my machine.
Update:
while true; do date; sleep 0.1; done
while running the script side-by side with panel clock as shown in my above post, I noticed that sometimes the clock is in sync and is slowly growing in error, smoothly approximating -1 sec lateness, then it skips '59' and says '58 .. 00'.
So the exact bug is that it seems to be showing a periodical lateness (0..1) sec, averaging at somewhat later that 0.5 sec since most of the time it seems to be about 1 sec late at least on my machine.