From: oetiker Date: Tue, 18 May 2004 18:54:50 +0000 (+0000) Subject: its 365 days in a year .... -- Mike Slifcak X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=48ee69b515f3d20694bb6eebdb80595dbaf95df3;p=rrdtool-all.git its 365 days in a year .... -- Mike Slifcak git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@256 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/src/parsetime.c b/program/src/parsetime.c index fa2e9b5d..e5a297c9 100644 --- a/program/src/parsetime.c +++ b/program/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;