Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Timezone problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
dansou90
n00b
n00b


Joined: 13 Apr 2012
Posts: 65

PostPosted: Fri Jun 01, 2012 8:23 pm    Post subject: Timezone problems Reply with quote

I hope I'm posting in the right forum.

I've got a timezone problem. When I set my timezone to GMT, the synchronized events from Google Calender in korganizer will get wrong formatted (2 hours too early, but with the right end time). When I set my timezone to Europe/Berlin, the events from Google are fixed, but the system time is two hours too early. Any ideas? My clock is set to UTC (setting it to local doesn't change anything either).
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54808
Location: 56N 3W

PostPosted: Fri Jun 01, 2012 8:39 pm    Post subject: Reply with quote

dansou90,

Have you set /etc/timezone and copied /usr/share/zoneinfo/Europe/Berlin to /etc/localtime ?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
dansou90
n00b
n00b


Joined: 13 Apr 2012
Posts: 65

PostPosted: Fri Jun 01, 2012 8:59 pm    Post subject: Reply with quote

Now I've set /etc/timezone, but the system time now is going two hours too fast (It's now Saturday 1 o'clock :)) I've copied the zoneinfo as well.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54808
Location: 56N 3W

PostPosted: Fri Jun 01, 2012 9:47 pm    Post subject: Reply with quote

dansou90,

If you dual boot with Windows, set your BIOS time to your local time - Windows expects this, and in Gentoo set your /etc/timezone to localtime.
Also copy the localtime zoneinfo file to /etc/localtime.

IF you do not dual boot with Windows, set your BIOS clock to UTC.
Set your /etc/timezone to Europe/Berlin
Copy the /usr/share/zoneinfo/Europe/Berlin to /etc/localtime

I suspect that your BIOS is set to your local time, not UTC.

Code:
date -u
will tell you what UTC time your system thinks it is.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
dansou90
n00b
n00b


Joined: 13 Apr 2012
Posts: 65

PostPosted: Sat Jun 02, 2012 9:11 am    Post subject: Reply with quote

First of all: I do dual boot with Windows, but I use only Gentoo (Windows is used rarely more than once a month, for applying security updates and updating Sophos :)).

When I set my timezone to UTC or localtime, the effect is the same: The system time is correct, the events form Google calendar are wrong formatted (Two hours too early). What am I doing wrong?
Back to top
View user's profile Send private message
Mistwolf
Apprentice
Apprentice


Joined: 07 Mar 2007
Posts: 189
Location: Edmonton, AB

PostPosted: Sat Jun 02, 2012 4:05 pm    Post subject: Reply with quote

Did you check the timezone settings in Google Calendar itself?

Under settings, there is an option to specify your timezone.

Hope this helps.
Back to top
View user's profile Send private message
dansou90
n00b
n00b


Joined: 13 Apr 2012
Posts: 65

PostPosted: Sat Jun 02, 2012 4:45 pm    Post subject: Reply with quote

I just checked it, they are correctly set (so the problem persists). I don't know whether there is a timezone setting in the akonadi-googledata plugin, which I am using for synchronizing my calendar?
Back to top
View user's profile Send private message
Mistwolf
Apprentice
Apprentice


Joined: 07 Mar 2007
Posts: 189
Location: Edmonton, AB

PostPosted: Sat Jun 02, 2012 5:27 pm    Post subject: Reply with quote

apparently the libgdata (or whatever it is called) library has issues with timezone data.

I did a "akonadi google calendar timezone" search and it shows that it is a known issue. I did not see a solution in the quick search.

Hope this helps.
Back to top
View user's profile Send private message
dansou90
n00b
n00b


Joined: 13 Apr 2012
Posts: 65

PostPosted: Sat Jun 02, 2012 8:56 pm    Post subject: Reply with quote

Thanks for your reply. So maybe I have to wait a bit :)

But when I tried it with CalDav as described here, the events are now shown with correct duration, but constantly two hours too early; so I think the problem still lies in my setup. But where? I do want to have the events on the laptop as well; only with my Android it isn't enough for me :D
Back to top
View user's profile Send private message
dansou90
n00b
n00b


Joined: 13 Apr 2012
Posts: 65

PostPosted: Mon Jun 04, 2012 6:07 pm    Post subject: Reply with quote

I'm still looking for a solution... Is it possible using CalDav or not?
Back to top
View user's profile Send private message
dansou90
n00b
n00b


Joined: 13 Apr 2012
Posts: 65

PostPosted: Sun Jun 10, 2012 5:03 pm    Post subject: Reply with quote

Bump. Nothing more?
Back to top
View user's profile Send private message
dansou90
n00b
n00b


Joined: 13 Apr 2012
Posts: 65

PostPosted: Mon Jun 18, 2012 7:19 pm    Post subject: Reply with quote

Isn't there anyone having the same problem? It's common, isn't it? I'm still looking for a solution!
Back to top
View user's profile Send private message
dansou90
n00b
n00b


Joined: 13 Apr 2012
Posts: 65

PostPosted: Tue Jun 26, 2012 6:19 pm    Post subject: Reply with quote

Bump?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum