Readded unfindes Boa 0.94.14rc21
[project/luci.git] / libs / sgi-webuci / boa-patches / 100-no_tz.patch
1 Index: boa-0.94.14rc21/src/util.c
2 ===================================================================
3 --- boa-0.94.14rc21.orig/src/util.c     2005-02-22 15:11:29.000000000 +0100
4 +++ boa-0.94.14rc21/src/util.c  2008-06-11 08:45:10.000000000 +0200
5 @@ -151,14 +151,9 @@
6      static char buf[30];
7      int time_offset;
8  
9 -    if (use_localtime) {
10 -        t = localtime(&current_time);
11 -        time_offset = TIMEZONE_OFFSET(t);
12 -    } else {
13 -        t = gmtime(&current_time);
14 -        time_offset = 0;
15 -    }
16 -
17 +       t = gmtime(&current_time);
18 +    time_offset = 0;
19 +    
20      p = buf + 29;
21      *p-- = '\0';
22      *p-- = ' ';