summaryrefslogtreecommitdiff
path: root/%25252525252525252525253fid%25252525252525252525253d52d52208c879c63f5e33fb4f7...
diff options
context:
space:
mode:
authorLars Henriksen <LarsHenriksen@get2net.dk>2019-04-08 07:52:57 +0200
committerLukas Fleischer <lfleischer@calcurse.org>2019-04-13 11:58:04 +0200
commit371c7eb00f44f80cd87f3dcd72f39b62ca1d3f31 (patch)
tree602d379f439b0eb5d28cacf7e45428696733d8a1 /%25252525252525252525253fid%25252525252525252525253d52d52208c879c63f5e33fb4f743014b8585dc05a%252525252525252525253fid%252525252525252525253d2be32c4bda5236ec19e0f3c544adcd2974684f50%2525252525252525253fid%2525252525252525253d2be32c4bda5236ec19e0f3c544adcd2974684f50%25252525252525253fid%25252525252525253d2be32c4bda5236ec19e0f3c544adcd2974684f50%252525252525253fid%252525252525253d2be32c4bda5236ec19e0f3c544adcd2974684f50%2525252525253fid%2525252525253d2be32c4bda5236ec19e0f3c544adcd2974684f50%25252525253fid%25252525253d2be32c4bda5236ec19e0f3c544adcd2974684f50%252525253fid%252525253d2be32c4bda5236ec19e0f3c544adcd2974684f50%2525253fid%2525253d2be32c4bda5236ec19e0f3c544adcd2974684f50%25253fid%25253d2be32c4bda5236ec19e0f3c544adcd2974684f50%253fid%253d2be32c4bda5236ec19e0f3c544adcd2974684f50%3fid%3d8741334d83aa5f77f1169af70493f394f860779f?id=371c7eb00f44f80cd87f3dcd72f39b62ca1d3f31
parentc8d53972148e7713e40779e75c1932cacffd526c (diff)
Fix display of time left before next appointment
In the notify bar, the clock is shown in hours, minutes and seconds, whereas the time left to the next appointment is shown in hours and minutes only. When you read the clock in hours and minutes (discarding the seconds), you are mentally rounding down to the nearest minute. To agree with that reading, the time left (in seconds) should be (programmatically) rounded up to the nearest minute for display. In that way the time left is counted down whenever the minute "hand" of the clock "ticks", and reaches zero when the clock reaches the time of the next appointment, not one minute before. Also, the clock (in hours and minutes) and the time left always add up to the time of the next appointment. Signed-off-by: Lars Henriksen <LarsHenriksen@get2net.dk> Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to '%25252525252525252525253fid%25252525252525252525253d52d52208c879c63f5e33fb4f743014b8585dc05a%252525252525252525253fid%252525252525252525253d2be32c4bda5236ec19e0f3c544adcd2974684f50%2525252525252525253fid%2525252525252525253d2be32c4bda5236ec19e0f3c544adcd2974684f50%25252525252525253fid%25252525252525253d2be32c4bda5236ec19e0f3c544adcd2974684f50%252525252525253fid%252525252525253d2be32c4bda5236ec19e0f3c544adcd2974684f50%2525252525253fid%2525252525253d2be32c4bda5236ec19e0f3c544adcd2974684f50%25252525253fid%25252525253d2be32c4bda5236ec19e0f3c544adcd2974684f50%252525253fid%252525253d2be32c4bda5236ec19e0f3c544adcd2974684f50%2525253fid%2525253d2be32c4bda5236ec19e0f3c544adcd2974684f50%25253fid%25253d2be32c4bda5236ec19e0f3c544adcd2974684f50%253fid%253d2be32c4bda5236ec19e0f3c544adcd2974684f50%3fid%3d8741334d83aa5f77f1169af70493f394f860779f?id=371c7eb00f44f80cd87f3dcd72f39b62ca1d3f31')
0 files changed, 0 insertions, 0 deletions