set XO clock to use UTC #5648

This commit is contained in:
Simon Schampijer 2008-01-10 11:04:09 +01:00
parent bbf88bea87
commit 10db544b1e

View File

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