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

Tobias Oetiker tobi at oetiker.ch
Thu Nov 11 17:12:32 CET 2010


Hi Peter,

thanks for your patch

cheers
tobi

Oct 29 Peter Stamfest wrote:

> 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
>
>

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900



More information about the rrd-developers mailing list