X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=src%2Frrd_graph.c;h=8935d4ee4277adadb936484e813f75fc3f44639e;hp=799e682268cc314cfd1ddb8f895e98419d1123a5;hb=27243283382f438f1c03d792a51c3db1c80e3517;hpb=3a74c2966e2e8b15d3a3780f98ccd44a5be4f751 diff --git a/src/rrd_graph.c b/src/rrd_graph.c index 799e682..8935d4e 100644 --- a/src/rrd_graph.c +++ b/src/rrd_graph.c @@ -1426,6 +1426,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: @@ -1494,6 +1496,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; int limit = 2; switch (baseint) {