set XO clock to use UTC #5648

master
Simon Schampijer 17 years ago
parent bbf88bea87
commit 10db544b1e

@ -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."))

Loading…
Cancel
Save