]> git.pld-linux.org Git - packages/at.git/blob - at-dst.patch
- rel 29
[packages/at.git] / at-dst.patch
1 diff -u at-3.1.8/parsetime.y.orig at-3.1.8/parsetime.y
2 --- at-3.1.8/parsetime.y.orig   Sun Mar  4 18:13:06 2001
3 +++ at-3.1.8/parsetime.y        Sun Mar  4 18:26:04 2001
4 @@ -593,6 +593,9 @@
5  
6      case YEAR:
7         exectm.tm_year += number;
8 +       /* Recalculate tm_isdst so we don't get a +-1 hour creep */
9 +       exectm.tm_isdst = -1;
10 +       (void) mktime(&exectm);
11         break;
12  
13      default:
This page took 0.044268 seconds and 3 git commands to generate.