projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8865e30
)
fix GNUNET_TIME_year_to_time, do not start in February...
author
Christian Grothoff
<christian@grothoff.org>
Mon, 1 Jan 2018 17:16:40 +0000
(18:16 +0100)
committer
Christian Grothoff
<christian@grothoff.org>
Mon, 1 Jan 2018 17:16:40 +0000
(18:16 +0100)
src/util/time.c
patch
|
blob
|
history
diff --git
a/src/util/time.c
b/src/util/time.c
index 19100ac3631f91ffa95d92b366ca1307e59a5b21..5ffb19ec1548f13d512da69e3048c93daed68c23 100644
(file)
--- 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);