viscal

cairo/gtk vi-like timeblocking calendar
git clone git://jb55.com/viscal
Log | Files | Refs | README | LICENSE

commit 664f136cf928f97e47e3bee03ede6a868f81cf26
parent 9369b38bc31ccac42062e296037276bd4f3a53a5
Author: William Casarin <jb55@jb55.com>
Date:   Thu, 18 Oct 2018 17:42:48 -0700

fix hour placement issue

Diffstat:
Mviscal.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/viscal.c b/viscal.c @@ -178,6 +178,7 @@ calendar_create(struct cal *cal) { nowtm.tm_min = 0; nowh = mktime(&nowtm); nowtm.tm_hour = 0; + nowtm.tm_sec = 0; today = mktime(&nowtm); cal->selected_calendar_ind = 0;