X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fparsetime.c;h=e5a297c979f8f4fa4c1d6bfdb1401f1828180dc8;hb=251d863a751bf92a41693228ede784a0cc77ff52;hp=fa2e9b5d8a4353ae6b906f18df53c1bac3742aff;hpb=d828f3eccac8dbad7bfc14812e406377669baaa4;p=rrdtool.git diff --git a/src/parsetime.c b/src/parsetime.c index fa2e9b5..e5a297c 100644 --- a/src/parsetime.c +++ b/src/parsetime.c @@ -716,7 +716,7 @@ day(struct rrd_time_value *ptv) */ tlen = strlen(sc_token); mon = atol(sc_token); - if (mon > 10*356*24*60*60) { + if (mon > 10*365*24*60*60) { ptv->tm=*localtime(&mon); token(); break;