On Thu, 22 Jun 2006 11:28:04 -0500 Aaron VanDevender wrote: > On Thu, 2006-06-22 at 10:57 -0500, Aaron VanDevender wrote: >> I notice that if I run: >> >> $ guile -c '(display (strftime "%c %z\n" (localtime (current-time))))' >> Thu Jun 22 10:51:21 2006 +0500 > > On second thought, I think this patch is better since in keeps the > scheme and C representations of the tm structure consistent, and it also > removes the offset calculation redundancy. > > Index: stime.c > =================================================================== > RCS file: /sources/guile/guile/guile-core/libguile/stime.c,v > retrieving revision 1.108 > diff -u -r1.108 stime.c > --- stime.c 17 Apr 2006 00:05:41 -0000 1.108 > +++ stime.c 22 Jun 2006 16:26:36 -0000
i just checked "guile-1.8.1/libguile/stime.c", which doesn't have this patch, although the bug didn't get fixed: $ guile -c '(display (strftime "%c %z\n" (localtime (current-time))))' Mon Jan 29 19:31:28 2007 -0100 $ date Mon Jan 29 19:33:27 CET 2007 CET == +0100 in winter. regards, clemens _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user