* tests/test-parse-datetime.c (main): Set TZ to US Eastern time
with the 2012 rules. Problem reported by Bruce Dubbs in
<http://bugs.gnu.org/12206>.
+2012-08-17 Paul Eggert <eggert@cs.ucla.edu>
+
+ test-parse-datetime: avoid glibc leap-second glitch
+ * tests/test-parse-datetime.c (main): Set TZ to US Eastern time
+ with the 2012 rules. Problem reported by Bruce Dubbs in
+ <http://bugs.gnu.org/12206>.
+
2012-08-14 Bruno Haible <bruno@clisp.org>
gnulib-tool: Fix indentation of generated gnulib-comp.m4 file.
set_program_name (argv[0]);
+ /* Set the time zone to US Eastern time with the 2012 rules. This
+ should disable any leap second support. Otherwise, there will be
+ a problem with glibc on sites that default to leap seconds; see
+ <http://bugs.gnu.org/12206>. */
+ setenv ("TZ", "EST5EDT,M3.2.0,M11.1.0", 1);
+
gmtoff = gmt_offset (ref_time);