summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 95a470c)
raw | patch | inline | side by side (parent: 95a470c)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 10 Apr 2012 10:12:28 +0000 (10:12 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 10 Apr 2012 10:12:28 +0000 (10:12 +0000) |
src/rrd_graph.c | patch | blob | history |
diff --git a/src/rrd_graph.c b/src/rrd_graph.c
index 799e682268cc314cfd1ddb8f895e98419d1123a5..8935d4ee4277adadb936484e813f75fc3f44639e 100644 (file)
--- a/src/rrd_graph.c
+++ b/src/rrd_graph.c
struct tm tm;
localtime_r(&start, &tm);
+ /* let mktime figure this dst on its own */
+ tm.tm_isdst = -1;
switch (baseint) {
case TMT_SECOND:
time_t madetime;
localtime_r(¤t, &tm);
+ /* let mktime figure this dst on its own */
+ tm.tm_isdst = -1;
int limit = 2;
switch (baseint) {