X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=program%2Fsrc%2Frrd_graph.c;fp=program%2Fsrc%2Frrd_graph.c;h=5b185956c44340275b5b2c4c62697f08d29e163d;hb=d318e85baadebf63310d0c99fbb3ee2a0dca921d;hp=2db9eea32970cd42e4bae824eedeaec4ee16b588;hpb=5eebccf9dfdbd9afcb66f7f43214fdab9b4d1cdc;p=rrdtool-all.git diff --git a/program/src/rrd_graph.c b/program/src/rrd_graph.c index 2db9eea3..5b185956 100644 --- a/program/src/rrd_graph.c +++ b/program/src/rrd_graph.c @@ -1343,6 +1343,8 @@ time_t find_first_time( struct tm tm; localtime_r(&start, &tm); + /* let mktime figure this dst on its own */ + tm.tm_isdst = -1; switch (baseint) { case TMT_SECOND: @@ -1411,6 +1413,8 @@ time_t find_next_time( time_t madetime; localtime_r(¤t, &tm); + /* let mktime figure this dst on its own */ + tm.tm_isdst = -1; do { switch (baseint) {