You are not logged in.

#1 2016-10-16 04:17:23

mochiman123
Member
Registered: 2016-10-05
Posts: 14

[SOLVED]Time zone correct, but time incorrect?

Hello, for some reason my time is incorrect despite having the correct timezone. Why is the UTC set to +0000 when I think it should be +8000?

      
Local time: Sun 2016-10-16 04:15:23 America
Universal time: Sun 2016-10-16 04:15:23 UTC
RTC time: Sun 2016-10-16 04:15:23
Time zone: America/Los_Angeles (America, +0000)
Network time on: yes
NTP synchronized: yes
RTC in local TZ: no

Last edited by mochiman123 (2016-10-17 01:49:09)

Offline

#2 2016-10-16 08:01:07

bstaletic
Member
Registered: 2014-02-02
Posts: 658

Re: [SOLVED]Time zone correct, but time incorrect?

Are you by any chance running Windows in dual boot setup? How's your hwclock set up?

Offline

#3 2016-10-16 08:19:06

mochiman123
Member
Registered: 2016-10-05
Posts: 14

Re: [SOLVED]Time zone correct, but time incorrect?

Nope, running only on linux. Not sure how to check how my hwclock is set up. I think that my Los_Angeles timezone might be screwed up, is there any way where I can restore it?

Last edited by mochiman123 (2016-10-16 08:19:35)

Offline

#4 2016-10-16 10:24:33

onslow77
Member
Registered: 2014-09-21
Posts: 279

Re: [SOLVED]Time zone correct, but time incorrect?

mochiman123 wrote:

Nope, running only on linux. Not sure how to check how my hwclock is set up. I think that my Los_Angeles timezone might be screwed up, is there any way where I can restore it?

Hello!

I suggest you consult the Time Zone section in the Installation Guide and the hwclock manual.

 man hwclock 

Regards
Martin

Last edited by onslow77 (2016-10-16 10:25:21)


It is advised to follow the How to post guide when posting on the Arch forum. If one consciously jumps over these elementary steps like reading the wiki and providing necessary information about the problem, one can be regarded as a Help Vampire.

Offline

#5 2016-10-17 00:11:41

mochiman123
Member
Registered: 2016-10-05
Posts: 14

Re: [SOLVED]Time zone correct, but time incorrect?

onslow77 wrote:
mochiman123 wrote:

Nope, running only on linux. Not sure how to check how my hwclock is set up. I think that my Los_Angeles timezone might be screwed up, is there any way where I can restore it?

Hello!

I suggest you consult the Time Zone section in the Installation Guide and the hwclock manual.

 man hwclock 

Regards
Martin

I'm not sure that's relevant to my current issue. I've already consulted the time page on the archwiki as well as in the installation guide in order to try different hwclock configurations and my problem seems to be connected with the Los_Angeles timezone. Switching to other timezone provides a correct UTC time whereas Los_Angeles simply gives America, +0000.

Offline

#6 2016-10-17 00:18:32

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

Re: [SOLVED]Time zone correct, but time incorrect?

I've seen that happen before when the timezone file was corrupted, like you said. Reinstall the tzinfo package and see what happens.

Offline

#7 2016-10-17 01:48:40

mochiman123
Member
Registered: 2016-10-05
Posts: 14

Re: [SOLVED]Time zone correct, but time incorrect?

Scimmia wrote:

I've seen that happen before when the timezone file was corrupted, like you said. Reinstall the tzinfo package and see what happens.

Thanks so much! I looked through my package list and reinstalled the tzdata package and now it works like a charm!

Offline

#8 2016-10-17 01:51:56

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

Re: [SOLVED]Time zone correct, but time incorrect?

Ha, I had confused tzdata and zoneinfo (path where they are stored). I'm glad you figured out what I meant instead of what I said. smile

Offline

Board footer

Powered by FluxBB