Red Hat Bugzilla – Bug 408121
RFE: derive default regional settings from time zone
Last modified: 2008-01-02 12:20:37 EST
Anaconda asks for a time zone during installation, I think it'd be nice to
derive KDE's default "Country or region" setting from this info where possible,
eg. Europe/Helsinki -> Finland.
I'm sorry but AFAIK there is no way one could deduce the country from the
Well, in principle we have at least one tzdata entry per country. However, that
assumes the user actually enters e.g. Europe/Vienna for Austria and not
Europe/Berlin or some other city which happens to be in the same timezone, so
I'm not sure it's a good idea to rely on it.
It's certainly possible to find out a country from a $Continent/$City tuple, all
it needs is a lookup table somewhere that maps those tuples to countries. And
even if it cannot be made 100% correct in all cases (and even though in some
cases no guesses could actually be made at all, eg. when the chosen time zone is
not in the $Continent/$City format), I do think that a best effort guess would
be an improvement over the current situation.
The case in comment 2 can of course happen, but I don't think it'd be a blocker.