|
|
|
@ -232,8 +232,10 @@ class VariableOsInstallClockTimezone(LocaleVariable):
|
|
|
|
|
lang = self.Get('os_install_locale_lang').split('_')[1]
|
|
|
|
|
nativeTZ = map(lambda x:x.encode('utf-8'),
|
|
|
|
|
country_timezones[lang])
|
|
|
|
|
source = nativeTZ + ["---"] + filter(lambda x:not x in nativeTZ,
|
|
|
|
|
source)
|
|
|
|
|
source = nativeTZ + ["---"] + \
|
|
|
|
|
sorted(filter(lambda x:not x in nativeTZ,source),
|
|
|
|
|
key=lambda x:timezone(x)._utcoffset.total_seconds(),
|
|
|
|
|
reverse=True)
|
|
|
|
|
except (KeyError,IndexError) as e:
|
|
|
|
|
pass
|
|
|
|
|
return list(self.generateComments(source))
|
|
|
|
|