]> git.pld-linux.org Git - packages/at.git/commitdiff
- who nailed UTC, Leap year, DST, and some other edge cases down (patch from RH).
authorkloczek <kloczek@pld-linux.org>
Wed, 22 May 2002 14:02:50 +0000 (14:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    at-dst.patch -> 1.1

at-dst.patch [new file with mode: 0644]

diff --git a/at-dst.patch b/at-dst.patch
new file mode 100644 (file)
index 0000000..3cf51cc
--- /dev/null
@@ -0,0 +1,13 @@
+diff -u at-3.1.8/parsetime.y.orig at-3.1.8/parsetime.y
+--- at-3.1.8/parsetime.y.orig  Sun Mar  4 18:13:06 2001
++++ at-3.1.8/parsetime.y       Sun Mar  4 18:26:04 2001
+@@ -593,6 +593,9 @@
+     case YEAR:
+       exectm.tm_year += number;
++      /* Recalculate tm_isdst so we don't get a +-1 hour creep */
++      exectm.tm_isdst = -1;
++      (void) mktime(&exectm);
+       break;
+     default:
This page took 0.061305 seconds and 4 git commands to generate.