diff options
author | Daniel Drake <dsd@laptop.org> | 2011-02-22 03:22:11 (GMT) |
---|---|---|
committer | Sascha Silbe <silbe@activitycentral.com> | 2011-02-23 12:30:58 (GMT) |
commit | 0c0b7450a282608a004ff78960751c8964d478f8 (patch) | |
tree | 0217da91351b05ddabd86f6b2e4f8002fada3614 | |
parent | 42edf8cad48423125cf6da68d84736f2b6f481ad (diff) |
Don't set default timezone
By default, Sugar's gconf schema configures a UTC timezone, and this
means that sugar-session unconditionally adjusts the environment so that
a UTC timezone is used.
This overrides any system-wide timezone specified by /etc/localtime.
Test case: set /etc/localtime to Asia/Taipei, start sugar, open terminal,
run "date", observe that it shows GMT time.
Drop the text value from the default gconf schema. This allows the
systemwide timezone to be used as a default. Sugar users can still make
their own choice (overriding the systemwide default) in the control panel.
Reviewed-by: James Cameron <quozl@laptop.org>
Acked-by: Sascha Silbe <silbe@activitycentral.com>
-rw-r--r-- | data/sugar.schemas.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/sugar.schemas.in b/data/sugar.schemas.in index f38b42e..b13f746 100644 --- a/data/sugar.schemas.in +++ b/data/sugar.schemas.in @@ -78,7 +78,7 @@ <applyto>/desktop/sugar/date/timezone</applyto> <owner>sugar</owner> <type>string</type> - <default>UTC</default> + <default></default> <locale name="C"> <short>Timezone</short> <long>Timezone setting for the system.</long> |