[rrd-developers] [PATCH] introduce "epoch" as base time reference

Peter Stamfest peter at stamfest.at
Fri Oct 29 08:47:05 CEST 2010


Hello!

Find attached a patch that introduces "epoch" as a new base time 
reference, meaning timestamp 0.

I use it to disambiguate between some "at-style" time specs:

eg: 

11111111 yields an error message:

did you really mean month 1111111?

and 

19711205 denotes Dec 12, 1971 and not the timestamp.



The patch allows to write:

epoch+11111111s or epoch+19711205s

which fixes both problems.

The patch also updates documentation in rrdfetch.pod

peter

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-developers/attachments/20101029/3aa59634/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: introduce-epoch.patch
Type: application/octet-stream
Size: 2792 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/rrd-developers/attachments/20101029/3aa59634/attachment.obj 


More information about the rrd-developers mailing list