<i18n dev> Additional source to guess the local timezone ID on linux

Andrew Hughes gnu.andrew at redhat.com
Wed Aug 28 06:26:07 PDT 2013

----- Original Message -----
> On 08/27/2013 03:00 AM, Masayoshi Okutsu wrote:
> > /etc/sysconfig/clock used to be supported, but it was removed in JDK 7.
> > The problem is discussed in bug #6456628.
> > 
> > http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6456628
> Thanks for that link. I did not know that this support was present in
> JDK7 but then removed. I did not expect various distributions and
> versions to have significant differences in that file either.

To bring things full circle:


"BTW: I'll change the warning boilerplate to this to make it more clear:

# The time zone of the system is defined by the contents of /etc/localtime.
# This file is only for evaluation by system-config-date, do not rely on its
# contents elsewhere."


> > Have you tested your fix on all Red Hat-like distros, including some
> > older releases, with all the time zone IDs?
> No, I tested this with Red Hat Enterprise Linux 6. I did not try it on
> older versions. I know newer versions of Fedora don't ship with this
> file any more.
> Given that this support was removed because there were significant
> differences in that file making maintenance harder in OpenJDK, I am
> going to withdraw this patch.
> Thanks to everyone who reviewed and commented on it.
> Omair
> --
> PGP Key: 66484681 (http://pgp.mit.edu/)
> Fingerprint = F072 555B 0A17 3957 4E95  0056 F286 F14F 6648 4681

Andrew :)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

PGP Key: 248BDC07 (https://keys.indymedia.org/)
Fingerprint = EC5A 1F5E C0AD 1D15 8F1F  8F91 3B96 A578 248B DC07

More information about the i18n-dev mailing list