| 123456789101112131415 |
- Index: src/macros.c
- --- src/macros.c.orig 2004-05-06 09:37:10.000000000 +0200
- +++ src/macros.c 2004-05-06 20:24:05.000000000 +0200
- @@ -115,6 +115,10 @@
- (timezone < 0 ? -timezone : timezone) / 3600,
- (timezone % 3600) / 60);
- #else
- + time_t t;
- + struct tm *tm;
- + t = time(NULL);
- + tm = localtime(&t);
- length = strftime(dest, left -1, "%z", tm);
- #endif
- return length;
|