Code

tod can come after the date as well as before the date
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Wed, 27 Sep 2006 21:45:47 +0000 (21:45 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Wed, 27 Sep 2006 21:45:47 +0000 (21:45 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@899 a5681a0c-68f1-0310-ab6d-d61299d08faa

src/parsetime.c

index eedd3e488b80f6112fe597ca19659c0e65365164..f1958430224ef73487e8660001334315ca84d38a 100644 (file)
@@ -839,6 +839,7 @@ parsetime(const char *tspec, struct rrd_time_value *ptv)
     case NUMBER:
            try(tod(ptv))
             try(day(ptv))
+            try(tod(ptv))
             break;
     /* fix month parsing */
     case JAN: case FEB: case MAR: case APR: case MAY: case JUN: