Re: [PATCH] introduce "epoch" as base time reference
Tobias Oetiker <[email protected]>
| Newsgroups | gmane.comp.db.rrdtool.devel |
|---|---|
| Message-ID | <[email protected]> |
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 [email protected] ++41 62 775 9902 / sb: -9900