Blame SOURCES/at-3.1.18-utc-dst.patch

d3b522
diff -up at-3.1.18/parsetime.y.dst at-3.1.18/parsetime.y
d3b522
--- at-3.1.18/parsetime.y.dst	2015-12-06 16:45:10.000000000 +0100
d3b522
+++ at-3.1.18/parsetime.y	2015-07-01 13:53:14.088881926 +0200
d3b522
@@ -476,8 +476,8 @@ parsetime(time_t currtime, int argc, cha
d3b522
     exectm = *localtime(&currtime);
d3b522
     currtime -= exectm.tm_sec;
d3b522
     exectm.tm_sec = 0;
d3b522
-    exectm.tm_isdst = -1;
d3b522
     memcpy(&currtm,&exectm,sizeof(currtm));
d3b522
+    exectm.tm_isdst = -1;
d3b522
     time_only = 0;
d3b522
     yearspec = 0;
d3b522
 
d3b522
@@ -503,8 +503,8 @@ parsetime(time_t currtime, int argc, cha
d3b522
 	    return 0;
d3b522
 	if (isgmt) {
d3b522
 	    exectime -= timezone;
d3b522
-	    if (currtm.tm_isdst && !exectm.tm_isdst)
d3b522
-		exectime -= 3600;
d3b522
+	    if (exectm.tm_isdst)
d3b522
+		exectime += 3600;
d3b522
 	}
d3b522
 	if (exectime < currtime)
d3b522
 		panic("refusing to create job destined in the past");