X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=src%2Fparsetime.c;h=e5a297c979f8f4fa4c1d6bfdb1401f1828180dc8;hp=fa2e9b5d8a4353ae6b906f18df53c1bac3742aff;hb=df5df30bd9c2ca36c8e201d6b9140e6215f099b9;hpb=d828f3eccac8dbad7bfc14812e406377669baaa4 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;