From 04ff2b8f3b3b499e56a878b2d9166f03f7610784 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 1 Jan 2018 18:16:40 +0100 Subject: [PATCH] fix GNUNET_TIME_year_to_time, do not start in February... --- src/util/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/time.c b/src/util/time.c index 19100ac36..5ffb19ec1 100644 --- a/src/util/time.c +++ b/src/util/time.c @@ -693,7 +693,7 @@ GNUNET_TIME_year_to_time (unsigned int year) } t.tm_year = year - 1900; t.tm_mday = 1; - t.tm_mon = 1; + t.tm_mon = 0; t.tm_wday = 1; t.tm_yday = 1; tp = mktime (&t); -- 2.25.1