From df5df30bd9c2ca36c8e201d6b9140e6215f099b9 Mon Sep 17 00:00:00 2001 From: oetiker Date: Tue, 18 May 2004 18:54:50 +0000 Subject: [PATCH] its 365 days in a year .... -- Mike Slifcak git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@256 a5681a0c-68f1-0310-ab6d-d61299d08faa --- src/parsetime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.11.0