author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Thu, 11 Nov 2010 16:12:17 +0000 (16:12 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Thu, 11 Nov 2010 16:12:17 +0000 (16:12 +0000) | ||
commit | 0942a5f8b7d28c509b37d806a78912400a4b4bb7 | |
tree | 5307a55deede35acb892a34733fcd2f5fe821b82 | tree | snapshot |
parent | 54949ca827c8d8054c16ed9dad5d28aac1c49593 | commit | diff |
introduce "epoch" as a new base time reference, meaning timestamp 0.
This disambiguates between some "at-style" time specs:
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
-- Peter Stamfest
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2147 a5681a0c-68f1-0310-ab6d-d61299d08faa
This disambiguates between some "at-style" time specs:
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
-- Peter Stamfest
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2147 a5681a0c-68f1-0310-ab6d-d61299d08faa
program/doc/rrdfetch.pod | diff | blob | history | |
program/src/rrd.h | diff | blob | history | |
program/src/rrd_parsetime.c | diff | blob | history |