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