Discussion:
[korganizer] [Bug 361764] New: Cannot add event to calendar with correct time: Add event window will not accept an "A.M." time
Alfredo Maldonado via KDE Bugzilla
2016-04-14 13:07:44 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=361764

Bug ID: 361764
Summary: Cannot add event to calendar with correct time: Add
event window will not accept an "A.M." time
Product: korganizer
Version: unspecified
Platform: Archlinux Packages
OS: Linux
Status: UNCONFIRMED
Severity: major
Priority: NOR
Component: general
Assignee: korganizer-***@kde.org
Reporter: ***@wordplay.ie

Note: This is for KOrganizer version 5.1.3. (This version was not in Version
dropdown list)

Problem:

Every time I try to add a new event to my calendar in KOrganizer (integrated
with Kontact), the UI acts funny and doesn't allow me to add the event at the
time I want. When trying to save the event, the event doesn't get saved. No
error message is reported.

This happens in the local calendar and in Google calendars. If it's a Google
calendar, event does get saved, but at midnight (starts at 0:00 and ends at
0:00).


Reproducible: Always

Steps to Reproduce:
1. Go to calendar in Kontact and click New Event.
2. Specify START date and time for the event in the future. Let's say 20th
April at 09:00 AM.
3. KOrganiser automatically changes the start time 09:00 PM. Sometimes (not
always), it also automatically changes the event's END date to 19th April (a
day before the start date!)
4. You can then fiddle with the UI all you want but you won't be able to get
your event to start at 09:00 AM. You give up and say, OK, I'll make my event to
start on 09:00 PM and end on 10:00 PM on 20th April and then I'll just edit the
entry after saving with the correct end and start times. So, you click OK to
save the event, but then the event doesn't get added to the calendar at all,
not even at 9pm. No error message or complaint is reported by the software.


Actual Results:
I have several calendars in KOrganizer: the actual Personal Calendar in
KOrganizer and several Google calendars. This behaviour happens in all
calendars.

However, sometimes (not always), when adding an event to a Google calendar, if
you open the calendar in your browser (on Google's site), you'll see that the
event does get saved on the correct date (20th April) but with a start time of
0:00 and an end time of 0:00 (i.e. you get an event of no duration at
midnight). This you can edit in Google calendar and when you do, then it will
appear as well in KOrganizer (after it has refreshed the Google calendar).


Expected Results:
1. UI should allow me to specify 9:00 AM without changing to 9:00 PM
2. The END date of the event shouldn't change automatically. It should change
only if I change it.
3. When you click OK, the event should be added and should be visible in the
calendar, at the time you specified.
--
You are receiving this mail because:
You are watching all bug changes.
Alan Liddell via KDE Bugzilla
2016-08-14 22:32:02 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=361764

Alan Liddell <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmail.com
--
You are receiving this mail because:
You are watching all bug changes.
via KDE Bugzilla
2016-09-10 14:06:53 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=361764

--- Comment #1 from ***@gmail.com ---
(In reply to Alfredo Maldonado from comment #0)
Post by Alfredo Maldonado via KDE Bugzilla
Note: This is for KOrganizer version 5.1.3. (This version was not in Version
dropdown list)
Every time I try to add a new event to my calendar in KOrganizer (integrated
with Kontact), the UI acts funny and doesn't allow me to add the event at
the time I want. When trying to save the event, the event doesn't get saved.
No error message is reported.
This happens in the local calendar and in Google calendars. If it's a Google
calendar, event does get saved, but at midnight (starts at 0:00 and ends at
0:00).
Reproducible: Always
1. Go to calendar in Kontact and click New Event.
2. Specify START date and time for the event in the future. Let's say 20th
April at 09:00 AM.
3. KOrganiser automatically changes the start time 09:00 PM. Sometimes (not
always), it also automatically changes the event's END date to 19th April (a
day before the start date!)
4. You can then fiddle with the UI all you want but you won't be able to get
your event to start at 09:00 AM. You give up and say, OK, I'll make my event
to start on 09:00 PM and end on 10:00 PM on 20th April and then I'll just
edit the entry after saving with the correct end and start times. So, you
click OK to save the event, but then the event doesn't get added to the
calendar at all, not even at 9pm. No error message or complaint is reported
by the software.
I have several calendars in KOrganizer: the actual Personal Calendar in
KOrganizer and several Google calendars. This behaviour happens in all
calendars.
However, sometimes (not always), when adding an event to a Google calendar,
if you open the calendar in your browser (on Google's site), you'll see that
the event does get saved on the correct date (20th April) but with a start
time of 0:00 and an end time of 0:00 (i.e. you get an event of no duration
at midnight). This you can edit in Google calendar and when you do, then it
will appear as well in KOrganizer (after it has refreshed the Google
calendar).
1. UI should allow me to specify 9:00 AM without changing to 9:00 PM
2. The END date of the event shouldn't change automatically. It should
change only if I change it.
3. When you click OK, the event should be added and should be visible in the
calendar, at the time you specified.
I too have this problem. However, I have found a workaround for the time being,
along with a possible reason for why this is happening. I changed my time
format from Australian (en_AU) to the United States (en_US), and Korganizer now
accepts A.M. times (System Settings -> Regional Settings -> Formats -> Detailed
Settings -> Time -> United States - American English).

It seems that Korganizer relies somewhat on the system's time format/region to
properly determine the events/schedules it creates, and if the region in use is
not American (or similar to it), this causes problems.

What time format are you currently using? Does changing the time format to
United States allow you to set A.M. times?

And vice versa to others, does changing the time format from United States to
Australian (or other different time formats) cause Korganizer's A.M. time
entries to be interpreted as P.M. times?
--
You are receiving this mail because:
You are watching all bug changes.
via KDE Bugzilla
2016-09-11 10:45:01 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=361764

--- Comment #2 from ***@gmail.com ---
Created attachment 101032
--> https://bugs.kde.org/attachment.cgi?id=101032&action=edit
Time Format comparison of Australia and the United States

I've obtained an image of a comparison between Australian (en_AU) and American
(en_US) time formats. Here are the differences that I've noticed.

-US time uses AM/PM notation, whilst AU time uses 24 hour notation
-The day/month/year arrangement is slightly different

Perhaps this is what is causing Korganizer's peculiar behaviour with AM/PM time
entries?
--
You are receiving this mail because:
You are watching all bug changes.
Alfredo Maldonado via KDE Bugzilla
2016-09-12 09:11:47 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=361764

--- Comment #3 from Alfredo Maldonado <***@wordplay.ie> ---
This is likely to be related to my problem as I use Irish time format (en_IE).
However, I cannot reproduce anymore as I have uninstalled Kontact and I'm now
using Thunderbird. This issue was so big for me that I had to switch software.
--
You are receiving this mail because:
You are watching all bug changes.
via KDE Bugzilla
2016-09-13 04:10:50 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=361764

--- Comment #4 from ***@gmail.com ---
(In reply to Alfredo Maldonado from comment #3)
Post by Alfredo Maldonado via KDE Bugzilla
This is likely to be related to my problem as I use Irish time format
(en_IE). However, I cannot reproduce anymore as I have uninstalled Kontact
and I'm now using Thunderbird. This issue was so big for me that I had to
switch software.
I'm in the opposite boat actually, switching to Kmail and Korganizer after
discovering this workaround (I found Thunderbird's interface to be too
unresponsive, and did not integrate well with dark themes).

Could you spend a little time reinstalling Korganizer and test if the en_US
time format works? It would be nice for some confirmation that differing time
formats is the problem.
--
You are receiving this mail because:
You are watching all bug changes.
via KDE Bugzilla
2016-09-13 04:26:44 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=361764

--- Comment #5 from ***@gmail.com ---
Created attachment 101064
--> https://bugs.kde.org/attachment.cgi?id=101064&action=edit
Time format comparison of Ireland and United States

Here's a comparison between Ireland and American time formats. Comparing
between them, Ireland is different in that it seems to use 24-hour time
(similar to Australia) as compared to America's AM/PM time.

It's probable then to infer that the problem with Korganizer lies with the
system's time format. Specifically, 24-hour vs. AM/PM time. Perhaps this even
carries on to mixing up month numbers with day numbers (different arrangement
for Ireland and America) - but that's just speculation.
--
You are receiving this mail because:
You are watching all bug changes.
via KDE Bugzilla
2016-09-21 10:57:07 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=361764

***@kakouros.net changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@kakouros.net

--- Comment #6 from ***@kakouros.net ---
I have a problem setting the start and times as well.

Whenever I hit "Apply" or "OK", the times are both reset to 12:00PM. I had the
time format set to Greece and changing it to United States doesn't fix the
problem. The event then usually does not display in the Agenda view as it has
zero duration, but it show in the Month view.

Some other times, however, it shows in the Agenda view spanning all day long,
eg if I had set the event to be on the 3rd of July, then it will span from
00:00AM to 12:00 PM. I can then resize the event with the graphical handles and
set its starting and ending times correctly. If I then try to re-edit this
event and save, it will break again.
--
You are receiving this mail because:
You are watching all bug changes.
via KDE Bugzilla
2016-09-26 05:34:55 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=361764

--- Comment #7 from ***@gmail.com ---
(In reply to nikolaos from comment #6)
Post by via KDE Bugzilla
I have a problem setting the start and times as well.
Whenever I hit "Apply" or "OK", the times are both reset to 12:00PM. I had
the time format set to Greece and changing it to United States doesn't fix
the problem. The event then usually does not display in the Agenda view as
it has zero duration, but it show in the Month view.
Some other times, however, it shows in the Agenda view spanning all day
long, eg if I had set the event to be on the 3rd of July, then it will span
from 00:00AM to 12:00 PM. I can then resize the event with the graphical
handles and set its starting and ending times correctly. If I then try to
re-edit this event and save, it will break again.
This sounds like a slightly different problem to the bug... Looking at the list
of time formats, I am unable to find Greece. Are you sure you changed the time
format, and not the time zone? I can see Athens in the list of time zones, but
there is no Greece in the time formats.

But just to check, if you open up your Korganizer and click the 'New Event'
button, are you able to select AM and PM times for the start/end configuration?
Try setting a start time of 9:00 AM and an end time of 10:00 PM. If this is the
same bug, then after setting both, the start time would be instead 9:00 PM.

For further reference, switching the time format (on Plasma 5) goes as follows:
System settings -> Regional settings -> Formats -> Detailed settings -> Time =
United States - American English (en_US)

Logging out or rebooting should set the time format.
--
You are receiving this mail because:
You are watching all bug changes.
via KDE Bugzilla
2016-09-26 05:37:40 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=361764

--- Comment #8 from ***@gmail.com ---
(In reply to qualimerjudith from comment #7)
Post by via KDE Bugzilla
(In reply to nikolaos from comment #6)
Post by via KDE Bugzilla
I have a problem setting the start and times as well.
Whenever I hit "Apply" or "OK", the times are both reset to 12:00PM. I had
the time format set to Greece and changing it to United States doesn't fix
the problem. The event then usually does not display in the Agenda view as
it has zero duration, but it show in the Month view.
Some other times, however, it shows in the Agenda view spanning all day
long, eg if I had set the event to be on the 3rd of July, then it will span
from 00:00AM to 12:00 PM. I can then resize the event with the graphical
handles and set its starting and ending times correctly. If I then try to
re-edit this event and save, it will break again.
This sounds like a slightly different problem to the bug... Looking at the
list of time formats, I am unable to find Greece. Are you sure you changed
the time format, and not the time zone? I can see Athens in the list of time
zones, but there is no Greece in the time formats.
But just to check, if you open up your Korganizer and click the 'New Event'
button, are you able to select AM and PM times for the start/end
configuration? Try setting a start time of 9:00 AM and an end time of 10:00
PM. If this is the same bug, then after setting both, the start time would
be instead 9:00 PM.
For further reference, switching the time format (on Plasma 5) goes as
System settings -> Regional settings -> Formats -> Detailed settings -> Time
= United States - American English (en_US)
Logging out or rebooting should set the time format.
Ah, apologies - Greece is indeed there, but not in English, so it was difficult
to find.
--
You are receiving this mail because:
You are watching all bug changes.
via KDE Bugzilla
2016-09-26 20:59:38 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=361764

--- Comment #9 from ***@kakouros.net ---
My case seems to be resolved now. I can't say which update fixed that but it
works OK now.
--
You are receiving this mail because:
You are watching all bug changes.
via KDE Bugzilla
2016-09-27 06:43:56 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=361764

--- Comment #10 from ***@gmail.com ---
(In reply to nikolaos from comment #9)
Post by via KDE Bugzilla
My case seems to be resolved now. I can't say which update fixed that but it
works OK now.
That's great to hear! However, I have a feeling that your problem was a little
different to this bug. If it's alright, do you mind doing a little testing? It
would be nice for some external confirmation that this bug is a thing.

Set your time format to Australian time (en_AU), and then try to set a date
using Korganizer, with a start time of 9:00 AM and an end time of 10:00 PM. If
the start time ends up changing to 9:00 PM, then Korganizer is still unable to
properly set times under time formats which are not similar to America's.

If you're willing, you have my thanks.
--
You are receiving this mail because:
You are watching all bug changes.
stephane via KDE Bugzilla
2016-10-06 09:51:36 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=361764

stephane <***@scachemaille.ch> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@scachemaille.ch

--- Comment #11 from stephane <***@scachemaille.ch> ---
Someone has kind of the same problem with greek time locale. (el_GR)
And I could reproduce it with the same locale as him.
see here for more info
https://forum.manjaro.org/t/korganizer-not-setting-properly-event-time/10397

here is a video you can see what happen.
https://vimeo.com/185548052 (password: korganizer)

what we can see.
- When the user select a start date, the end day change to 1 day before the
start day.
- When the user save the event, the start time and end time is change and saved
to 12:00 M.M (12:00 PM)

korganizer 16.08.1

Qt 5.7.0
--
You are receiving this mail because:
You are watching all bug changes.
gerstavros via KDE Bugzilla
2016-10-06 20:25:22 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=361764

gerstavros <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmail.com
--
You are receiving this mail because:
You are watching all bug changes.
Qualimer Judith via KDE Bugzilla
2016-10-07 06:57:59 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=361764

--- Comment #12 from Qualimer Judith <***@gmail.com> ---
(In reply to stephane from comment #11)
Post by stephane via KDE Bugzilla
Someone has kind of the same problem with greek time locale. (el_GR)
And I could reproduce it with the same locale as him.
see here for more info
https://forum.manjaro.org/t/korganizer-not-setting-properly-event-time/10397
here is a video you can see what happen.
https://vimeo.com/185548052 (password: korganizer)
what we can see.
- When the user select a start date, the end day change to 1 day before the
start day.
- When the user save the event, the start time and end time is change and
saved to 12:00 M.M (12:00 PM)
korganizer 16.08.1
Qt 5.7.0
Out of curiosity, does the time set correctly using the en_US (American)
locale? This seems like the same problem, but it'd be nice to be sure. Thanks.
--
You are receiving this mail because:
You are watching all bug changes.
stephane via KDE Bugzilla
2016-10-07 07:53:13 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=361764

--- Comment #13 from stephane <***@scachemaille.ch> ---
(In reply to Qualimer Judith from comment #12)
Post by Qualimer Judith via KDE Bugzilla
(In reply to stephane from comment #11)
Post by stephane via KDE Bugzilla
Someone has kind of the same problem with greek time locale. (el_GR)
And I could reproduce it with the same locale as him.
see here for more info
https://forum.manjaro.org/t/korganizer-not-setting-properly-event-time/10397
here is a video you can see what happen.
https://vimeo.com/185548052 (password: korganizer)
what we can see.
- When the user select a start date, the end day change to 1 day before the
start day.
- When the user save the event, the start time and end time is change and
saved to 12:00 M.M (12:00 PM)
korganizer 16.08.1
Qt 5.7.0
Out of curiosity, does the time set correctly using the en_US (American)
locale? This seems like the same problem, but it'd be nice to be sure.
Thanks.
Yes. I use myself fr_CH locales and I tried to replicate the problem of the
mentionned manjaro user. all is working fine with fr_CH locales (it use 24H
format), and it also works with en_US (american). When I tried with greek
locales (el_GR) like as the user, the problem appeared.
--
You are receiving this mail because:
You are watching all bug changes.
gerstavros via KDE Bugzilla
2016-10-08 14:16:34 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=361764

--- Comment #14 from gerstavros <***@gmail.com> ---
(In reply to Qualimer Judith from comment #12)
Post by Qualimer Judith via KDE Bugzilla
Out of curiosity, does the time set correctly using the en_US (American)
locale? This seems like the same problem, but it'd be nice to be sure.
Thanks.
yes, us and other locales work right, problem appears when using greek locales
(el_GR, el_CY)
--
You are receiving this mail because:
You are watching all bug changes.
Pieter-v
2017-05-01 08:37:24 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=361764

Pieter-v <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmail.com
--
You are receiving this mail because:
You are watching all bug changes.
Pieter-v
2017-05-01 08:44:16 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=361764

--- Comment #15 from Pieter-v <***@gmail.com> ---
I'm Australian and I think this is a big issue for the credibility of KDE apps
if this issue cannot be solved.
I think KDE is the best D.E. and I'm really enjoying Neon. However it cannot be
used to manage appointments properly, if like me you don't want to have your
computer running American (en_US) time formats.
I'm happy to provide screenshots etc if needed.
--
You are receiving this mail because:
You are watching all bug changes.
b***@kde.org
2017-11-14 06:11:14 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=361764

***@gmail.com changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmail.com

--- Comment #16 from ***@gmail.com ---
I also have this problem. Note that this also affects the work day times etc.
Go to `Configure Korganizer > Date and Time'. All the times there cannot be set
to AM times either. Switching to US_en is a workaround (but I agree it is not a
very good one if you don't want to use the US's non-standard date scheme
(mm/dd/yy)).
--
You are receiving this mail because:
You are watching all bug changes.
Dean Cording
2018-05-10 04:56:05 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=361764

Dean Cording <***@cording.id.au> changed:

What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Status|UNCONFIRMED |CONFIRMED

--- Comment #17 from Dean Cording <***@cording.id.au> ---
*** This bug has been confirmed by popular vote. ***
--
You are receiving this mail because:
You are watching all bug changes.
Dean Cording
2018-05-10 05:01:36 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=361764

Dean Cording <***@cording.id.au> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@cording.id.au

--- Comment #18 from Dean Cording <***@cording.id.au> ---
Can confirm that the problem with Kontact changing AM times to PM in the
Australia timezone is still an issue in Version 5.7.3. Changing the time
format in the System Setting Module to 'United Kingdom - British English' is a
work-around.
--
You are receiving this mail because:
You are watching all bug changes.
b***@kde.org
2018-07-28 10:34:36 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=361764

***@intuitionlibrary.com changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@intuitionlibrary.com

--- Comment #19 from ***@intuitionlibrary.com ---
I added a patch that fixes this bug on my local (Au) timezone -
https://phabricator.kde.org/D14435. I'll need to find someone to review it and
see if it's an appropriate fix.
--
You are receiving this mail because:
You are watching all bug changes.
Nate Graham
2018-07-28 21:21:52 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=361764

Nate Graham <***@kde.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@kde.org
--
You are receiving this mail because:
You are watching all bug changes.
Christoph Feck
2018-08-02 12:31:12 UTC
Permalink
Dette indlæg kan være upassende. Klik for at få det vist.
Christoph Feck
2018-08-05 02:55:14 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=361764

Christoph Feck <***@kde.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@sa.apana.org.au

--- Comment #21 from Christoph Feck <***@kde.org> ---
*** Bug 397150 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are watching all bug changes.
Christoph Feck
2018-10-04 21:45:11 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=361764

Christoph Feck <***@kde.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmail.com

--- Comment #22 from Christoph Feck <***@kde.org> ---
*** Bug 398453 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are watching all bug changes.
Loading...