You are not logged in.
I've noticed that the automatic time zone detection functionality of my GNOME 3 is not working correctly. My actual time zone is PST (UTC-08), but if I toggle on the "Automatic Time Zone" option in "All Settings -> Date & Time", it would detect me to be in EST (UTC-05).
Kernel: 4.9.11-1-ARCH
GNOME: 3.22.3-1
Output of `timedatectl`:
Local time: Wed 2017-03-01 05:36:18 EST
Universal time: Wed 2017-03-01 10:36:18 UTC
RTC time: Wed 2017-03-01 10:36:18
Time zone: America/New_York (EST, -0500)
Network time on: yes
NTP synchronized: yes
RTC in local TZ: no
Output of `sudo hwclock --show`:
2017-03-01 05:37:38.295861-0500
(Which is the current EST time)
Output of `date`:
Wed Mar 1 05:39:07 EST 2017
I suspected it was something wrong about my IP address, but all online IP location finder websites I've tried tell me I'm in San Francisco (which is correct). Also, I'm running dual systems (Windows 10 & Arch), and one OS writing the hardware clock always results in the other OS having an incorrect time on next boot; I just ignore it and let the OSes' internet time services correct it. Wrong time zone detection only began today.
I'm not sure how to approach this issue. Can anyone shed some light on what might be the cause?
Last edited by zizheng (2017-03-10 15:10:43)
Offline
Arch is home!
https://github.com/Docbroke
Offline
Unless you've some GPS device, gnome will use geoclue will use geoiplookup which by default comes in the "country edition", run
geoiplookup <your wan IP>
It'll likely say "US, USA" and then there'll be some auto-resolution to EST.
Try to install "pacman -S geoip-database-extra", but I don't know wether geoclue/gnome can make use of that.
Online
Did any system changes take place immediately prior to this problem? What does /etc/localtime show?
Last edited by NoSuck (2017-03-02 10:01:12)
Offline
Unless you've some GPS device, gnome will use geoclue will use geoiplookup which by default comes in the "country edition", run
geoiplookup <your wan IP>
It'll likely say "US, USA" and then there'll be some auto-resolution to EST.
Try to install "pacman -S geoip-database-extra", but I don't know wether geoclue/gnome can make use of that.
Yeah, the `geoiplookup` command reports San Francisco after I installed geoip-database-extra, but that doesn't help GNOME. It's still detecting EST time zone.
Offline
Did any system changes take place immediately prior to this problem? What does /etc/localtime show?
I update my system daily and don't really remember what were changed prior to this problem...
/etc/localtime is symlinked to /usr/share/zoneinfo/America/New_York by GNOME.
Offline
I do not know what can be done, other than filing a bug report with GNOME. I might wager that New York is the default time zone of the en_US locale and that perhaps something prevents GNOME from accessing geographic location at all.
Offline
As of now the problem no longer exists. I guess a recent update fixed it.
Offline
As of now the problem no longer exists. I guess a recent update fixed it.
Please remember to mark your thread [SOLVED] (edit the title of your first post.)
How to post. A sincere effort to use modest and proper language and grammar is a sign of respect toward the community.
Offline