Squashed commit of the following:
[project/luci.git] / libs / sgi-webuci / boa-patches / 100-no_tz.patch
1 diff -urN boa-0.94.13/src/util.c boa/src/util.c
2 --- boa-0.94.13/src/util.c 2002-07-08 01:22:18.000000000 +0200
3 +++ boa/src/util.c 2008-04-25 21:56:20.000000000 +0200
4 @@ -95,14 +95,9 @@
5 static char buf[30];
6 int time_offset;
7
8 - if (use_localtime) {
9 - t = localtime(&current_time);
10 - time_offset = TIMEZONE_OFFSET(t);
11 - } else {
12 - t = gmtime(&current_time);
13 - time_offset = 0;
14 - }
15 -
16 + t = gmtime(&current_time);
17 + time_offset = 0;
18 +
19 p = buf + 29;
20 *p-- = '\0';
21 *p-- = ' ';
22