Bug 373988 - KOrganiser time zone locked to UTC and not possible to change.
Summary: KOrganiser time zone locked to UTC and not possible to change.
Status: CONFIRMED
Alias: None
Product: korganizer
Classification: Applications
Component: timezones (show other bugs)
Version: GIT (master)
Platform: Arch Linux Linux
: NOR major
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-21 08:20 UTC by Luís
Modified: 2019-07-03 10:16 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luís 2016-12-21 08:20:53 UTC
I am using KOrganiser to synchronise with my cloud calendar through CalDAV. However, KOrganiser is only able to create events in the UTC timezone, no other time zone is available in the drop down list.  This means that an event created with KOrganiser will appear at a different time in my phone, my web based calendar and all other devices. Likewise, an event created in my phone will show at a different time in KOrganiser.

KOrganiser should be using the system time zone and not UTC.
Comment 1 tim 2016-12-22 14:36:28 UTC
I have exactly the same Problem on Ubuntu 16.10
Comment 2 tim 2017-01-31 22:16:25 UTC
Hello Luis did you find a solution for this ?
Iam still struggeling with this problem and cant use Korganizer :(
Comment 3 Luís 2017-02-01 06:57:19 UTC
No, there is no solution to this. It seems that KOrganiser is programmed to use exclusively UTC.

I am searching for an alternative to KOrganiser, if I find one I shall post it here.

Cheers.
Comment 4 tim 2017-02-02 03:37:21 UTC
I got it fixed with installing kde-desktop - now everything works like a charme and i can select different timezones. It seems like when i installed Korganizer in an ubuntu / unity enviroment there was a lack of the kde timezone file
Comment 5 Luís 2017-02-02 12:27:16 UTC
Hi again.

Yesterday I was able to get the Evolution calendar working. I am not sure how, and have not yet managed to replicate the procedure, but for now no more KOrganiser for me.

I doubt this bug is only down to a missing file. If that is the case then this file should be included in the package.

Cheers.
Comment 6 Luís 2017-02-04 11:29:22 UTC
I was able to nail down the process to configure the Evolution Calendar. It is a bit tricky with the dummy e-mail but then works perfectly:

http://askubuntu.com/a/879716/177437

Right now this is the best solution to this bug.
Comment 7 Jochen 2017-02-09 14:11:46 UTC
I can't remove the UTC timezone from my calender. I can add others, I can remove the added ones, but not the UTC timezone. Every event in all my calenders now alert me an hour early. I use latest Arch with korganizer 16.12.1-1.
Comment 8 Casey Bralla 2017-04-13 19:40:26 UTC
Possible work-around.  (This worked for me when KOrganizer would not start the week on Sunday, as is normal in the USA.  Instead it started week on Monday and showed all times in military 24:00 format).

Open text session (ie: Konsole) and type "kcmshell5 formats".  This will open a new window to set the proper localization.  For some reason KOrganizer is not using the localization from KDE settings.   If you set them here, however, they are retained and KOrganizer can see them.

Good luck!
Comment 9 Jochen 2017-05-04 08:16:03 UTC
kcmshell5 workaround doensn't work for me, since there is no "formats" module installed.

The problem persists. Also: I cant change the week beginning to Monday, instead of Sunday.

Can only speak for Archlinux and version 17.04.0-1 (Should be git-master)
Comment 10 Gerry Makaro aka Fraser_Bell 2017-09-24 03:12:05 UTC
(In reply to Jochen from comment #7)
> I can't remove the UTC timezone from my calender. I can add others, I can
> remove the added ones, but not the UTC timezone. Every event in all my
> calenders now alert me an hour early. I use latest Arch with korganizer
> 16.12.1-1.

I also cannot remove UTC timezone from the calendar, the option to delete it is greyed out.

I also can add other time zones, and can remove the ones I added, but cannot remove the UTC time zone.

All appointments are shifted (7 or 8? not looking at the moment) hours when I pull in an iCal that is successfully shared with kOrganizer (kde4 version) in openSUSE Leap 42.2 and with kOrganizer (kde4 version again)in openSUSE 13.1.

The installed desktop on the working version (kOrganizer from kde4) in openSUSE Leap 42.2 is Xfce, the kde desktop has not been installed, only the kde dependencies requested by a few kde programs when they were installed.

The non-working version is the Plasma 5 version:  kOrganizer Version 5.5.2

It is in openSUSE Leap 42.3, again with the Xfce desktop installed and without the kde desktop installed.

I think the problem is that kOrganizer does not pull in all the dependencies it requires, instead depends on some elements or dependencies that are only supplied if you install the kde desktop.

This appears to be an on-again, off-again problem going back years in kOrganizer.

I would suggest to the Dev, if I could talk to that person, that kOrganizer should have its own internal place to set the desired default time zone to anything the User desires, instead of having it pick up things from the System or the Desktop, which are broken from time to time.

I hope it is fixed soon.

In the meantime, I am using Lightning in Thunderbird, and it is doing a fine job of sharing the ics file with kOrganizer kde4 version on the other machines.

I actually quite like the Lightning version.
Comment 11 Don Curtis 2017-09-26 08:43:10 UTC
Some comments to the issues around UTC and Linux and KDE:

1. When KOrganizer exports an event or a to-do in iCal format, the scheduled time of the event or to-do within the iCal file is a UTC timestamp -- this was also the case with the KDE4 Plasma KOrganizer version.

2. A Linux system uses the time zone information located either in '/usr/share/zoneinfo/' or '/usr/lib/zoneinfo' -- if this location is not populated with time zone information files then, KDE will also not display a complete list of possible time zones.

3. A quick check to see if KDE can present all possible time zones, is to check in the "System Settings" -->> "Personalization" --"Regional Settings" section to see if all possible time zones are being presented -- if only UTC is available then, KOrganizer will also only present UTC as the only possible time zone.

----------------------------------------------------------------

Yes, it seems that, KOrganizer Version 5.5.2 may have an issue with imported iCal files in that, when editing an imported event (haven't yet tried an imported to-do), the event editor seems to prefer UTC as the time zone to be used.

On the other hand, the time-of-day displayed for the event is always correctly displayed as the correct local time (dependent on the machine's time zone location setting -- system/BIOS clock is UTC) for when the event shall occur.
Comment 12 Gerry Makaro aka Fraser_Bell 2017-09-26 22:13:16 UTC
(In reply to Don Curtis from comment #11)
> Some comments to the issues around UTC and Linux and KDE:
> 
> On the other hand, the time-of-day displayed for the event is always
> correctly displayed as the correct local time (dependent on the machine's
> time zone location setting -- system/BIOS clock is UTC) for when the event
> shall occur.

... or, is it?

In the Day view, in the Schedule window, on the left are the times.

At the top of that column, does it show your time zone?  Or, does it show it as UTC?

If UTC (as it does in my case), then although it seems to put the items at the "correct time", it is actually saying that schedule is UTC time.

... and, in that case, the UTC time it is running under is actually incorrect by the same shift as your time zone.

It is interpreting Local time as UTC time.

This is not good, and can cause multiple problems.
Comment 13 Gerry Makaro aka Fraser_Bell 2017-09-26 22:16:04 UTC
(In reply to Gerry Makaro aka Fraser_Bell from comment #12)
> (In reply to Don Curtis from comment #11)
> > Some comments to the issues around UTC and Linux and KDE:
> > 
> > On the other hand, the time-of-day displayed for the event is always
> > correctly displayed as the correct local time (dependent on the machine's
> > time zone location setting -- system/BIOS clock is UTC) for when the event
> > shall occur.
> 
> ... or, is it?
> 
> In the Day view, in the Schedule window, on the left are the times.
> 
> At the top of that column, does it show your time zone?  Or, does it show it
> as UTC?
> 
> If UTC (as it does in my case), then although it seems to put the items at
> the "correct time", it is actually saying that schedule is UTC time.
> 
> ... and, in that case, the UTC time it is running under is actually
> incorrect by the same shift as your time zone.
> 
> It is interpreting Local time as UTC time.
> 
> This is not good, and can cause multiple problems.

However, this is apparently not in KDE's Plasma, this is happening to me in Xfce.  It seems kOrganizer's problem is when it is in another Desktop, and possibly when the full KDE desktop has not been installed.
Comment 14 Gerry Makaro aka Fraser_Bell 2017-09-26 22:18:38 UTC
(In reply to Don Curtis from comment #11)
> Some comments to the issues around UTC and Linux and KDE:
> 

BTW:  At the top of this Bug report, add your vote to Importance.  You are allowed to devote between 0 to 20 votes to this bug, depending on how important you think it is.

I gave it 20 votes, so no one else has voted it up, yet.
Comment 15 Don Curtis 2017-09-30 16:32:55 UTC
KOrganizer version 5.5.2:

Calender entries which are imported from an iCal file exported from KOrganizer running on another machine are missing the following information in the ~/.local/share/korganizer/<Calendar directory>/ libkcal-xxxxx file:

BEGIN:VTIMEZONE
TZID:Europe/Berlin *** for example . . . ***
END:VTIMEZONE

The libkcal-xxx file generated from the imported iCal file simply begin with a "BEGIN:VEVENT" section and do not contain any time zone information for the calendar event.
Comment 16 droidSumit 2018-03-14 17:44:57 UTC
I have same issue in KDE neon 16.04. 
korganizer 5.7.2