[rrd-developers] Re: Problem with time

Pavel Mores pvl at uh.cz
Sun Feb 3 22:52:23 MET 2002

On Sun, Feb 03, 2002 at 08:30:56PM +0100, Alex van den Bogaerdt wrote:

> Hi,
> It seems we lost the ability to enter date/time in the "yyyymmdd hh:mm"
> format:
> rrdtool graph /dev/null DEF:ds0=rrd/hme1.rrd:ds0:AVERAGE \
>          --start '20020101 00:00' --end '20020201 00:00'
> ERROR: start time: unparsable trailing text: '...00:00'


I'm no rrdtool wizard but since this seems to be caused by the patch I
sent in recently I'll answer anyway ...

I tried to follow the formal time syntax specification (in parsetime.c)
while making my changes.

Excuse me, but is "yyyymmdd hh:mm" supposed to be a valid
TIME-SPECIFICATION? Generally, if we don't use offset TIME-SPECIFICATION
is basically TIME-REFERENCE. Roughly speaking, TIME-REFERENCE is a
TIME-OF-DAY-SPEC followed by either of the DAY-SPEC flavors. So it
seems to me that the correct syntax should really be "hh:mm yyyymmdd"
but then again, I might be wrong.


Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the rrd-developers mailing list