1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2025-01-30 10:38:36 +00:00
Alexander Graf 505c4286b4 keep next_update_time modulo update_interval zero
This patch modifies logic for setting next_update_time such that the
update is done at full update_interval seconds. That is, for example
with update_interval 60.0, update is done at 00:00:00, 00:01:00,
00:02:00, etc.

This might be useful for using conky as a clock widget which only needs
to be updated once per minute, but is obliged to update exactly at
minute change.

It is implemented in a way that is (hopefully) immune to clockchanges
(as for example by NTP or DST).
2016-02-08 22:41:30 +01:00
..
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-07-13 20:17:54 +02:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2006-08-12 06:10:18 +00:00
2015-08-19 22:04:42 +02:00
2012-05-03 16:34:44 -07:00
2012-07-13 20:17:54 +02:00
2011-10-13 09:41:53 +02:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2016-01-09 10:19:48 -07:00
2012-05-03 16:34:44 -07:00
2010-08-21 18:01:16 +02:00
2015-02-28 23:03:37 -06:00
2012-05-03 16:34:44 -07:00
2012-07-06 15:13:59 +02:00
2012-05-03 16:34:44 -07:00
2012-12-26 23:22:34 +01:00
2012-05-03 16:34:44 -07:00
2016-01-09 10:19:48 -07:00
2016-01-09 10:19:48 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-12-26 23:22:34 +01:00
2012-07-06 15:13:59 +02:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2013-12-06 16:44:37 +01:00
2013-12-06 16:44:37 +01:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2010-01-06 19:45:19 -08:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2015-08-21 01:56:37 -06:00
2013-07-13 23:55:28 +02:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-07-13 20:17:54 +02:00
2015-11-08 21:29:29 -08:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2010-04-30 19:33:21 +02:00
2010-04-30 19:33:21 +02:00
2012-05-03 16:34:44 -07:00
2015-12-09 18:38:20 +01:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-12-26 23:22:34 +01:00
2012-05-03 16:34:44 -07:00
2011-02-16 00:33:22 +01:00
2011-02-16 00:33:22 +01:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-07-13 20:17:54 +02:00
2012-05-03 16:34:44 -07:00
2014-05-30 12:24:55 +02:00
2012-05-03 16:34:44 -07:00
2012-07-19 18:42:34 +02:00
2010-09-13 11:49:44 +02:00
2010-01-10 22:06:01 +01:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2015-08-26 11:59:26 -06:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00