#5648 NORM Update.: XO clock should be set to UTC.
Zarro Boogs per Child
bugtracker at laptop.org
Thu Jan 10 04:49:03 EST 2008
#5648: XO clock should be set to UTC.
---------------------+------------------------------------------------------
Reporter: cscott | Owner: erikos
Type: defect | Status: new
Priority: normal | Milestone: Update.1
Component: sugar | Version:
Resolution: | Keywords:
Verified: 0 | Blocking:
Blockedby: |
---------------------+------------------------------------------------------
Comment(by erikos):
This is the fix:
diff --git a/shell/controlpanel/control.py b/shell/controlpanel/control.py
index 580536a..a3fa1a4 100644
--- a/shell/controlpanel/control.py
+++ b/shell/controlpanel/control.py
@@ -404,10 +404,9 @@ def set_timezone(timezone):
# Write info to the /etc/sysconfig/clock file
fd = open(_TIMEZONE_CONFIG, "w")
- fd.write('# The ZONE parameter is only evaluated by
sugarcontrol.\n')
- fd.write('# The timezone of the system ' +
- 'is defined by the contents of /etc/localtime.\n')
+ fd.write('# use sugar-control-panel to change this\n')
fd.write('ZONE="%s"\n' % timezone)
+ fd.write('UTC=true\n')
fd.close()
else:
print (_("Error timezone does not exist."))
--
Ticket URL: <http://dev.laptop.org/ticket/5648#comment:5>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system
More information about the Bugs
mailing list