/[smeserver]/rpms/anaconda/sme7/0009-Force-time-to-be-based-on-UTC.patch
ViewVC logotype

Annotation of /rpms/anaconda/sme7/0009-Force-time-to-be-based-on-UTC.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Tue Oct 27 01:24:44 2009 UTC (15 years, 1 month ago) by slords
Branch: MAIN
CVS Tags: HEAD
Update spec

1 slords 1.1 From 0b36ded8de196368dc1cbfa27828a75c88f2acf2 Mon Sep 17 00:00:00 2001
2     From: Shad L. Lords <slords@mail.com>
3     Date: Mon, 26 Oct 2009 18:09:55 -0600
4     Subject: [PATCH] Force time to be based on UTC
5    
6     ---
7     textw/timezone_text.py | 7 ++-----
8     1 files changed, 2 insertions(+), 5 deletions(-)
9    
10     diff --git a/textw/timezone_text.py b/textw/timezone_text.py
11     index f6afd6b..f145aff 100644
12     --- a/textw/timezone_text.py
13     +++ b/textw/timezone_text.py
14     @@ -48,8 +48,7 @@ class TimezoneWindow:
15     args = [ "/usr/sbin/hwclock" ]
16    
17     args.append("--hctosys")
18     - if self.c.selected():
19     - args.append("--utc")
20     + args.append("--utc")
21    
22     iutil.execWithRedirect(args[0], args)
23     self.g.setTimer(500)
24     @@ -91,14 +90,12 @@ class TimezoneWindow:
25     self.l.setCurrent(default)
26     # self.l.setCallback(self.updateClock)
27    
28     - self.c = Checkbox("System clock uses UTC", isOn = asUtc)
29     # self.c.setCallback(self.updateSysClock)
30    
31     self.g = GridFormHelp(screen, _("Time Zone Selection"), "timezone",
32     1, 5)
33     self.g.add(t, 0, 0)
34     # self.g.add(self.label, 0, 1, padding = (0, 1, 0, 0), anchorLeft = 1)
35     - self.g.add(self.c, 0, 2, padding = (0, 1, 0, 1), anchorLeft = 1)
36     self.g.add(self.l, 0, 3, padding = (0, 0, 0, 1))
37     self.g.add(bb, 0, 4, growx = 1)
38    
39     @@ -126,7 +123,7 @@ class TimezoneWindow:
40     break
41    
42     screen.popWindow()
43     - timezone.setTimezoneInfo(self.l.current(), asUtc = self.c.selected())
44     + timezone.setTimezoneInfo(self.l.current(), asUtc = 1)
45    
46     return INSTALL_OK
47    
48     --
49     1.5.5.6
50    

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed