[korganizer] [Bug 361764] Cannot add event to calendar with correct time: Add event window will not accept an "A.M." time

Christoph Feck bugzilla_noreply at kde.org
Thu Aug 2 13:31:12 BST 2018


https://bugs.kde.org/show_bug.cgi?id=361764

Christoph Feck <cfeck at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |5.49.0
      Latest Commit|                            |https://commits.kde.org/kwi
                   |                            |dgetsaddons/628c5b1335a21bf
                   |                            |2a20ebf0af56dcc113c64c181
         Resolution|---                         |FIXED
             Status|CONFIRMED                   |RESOLVED

--- Comment #20 from Christoph Feck <cfeck at kde.org> ---
Git commit 628c5b1335a21bf2a20ebf0af56dcc113c64c181 by Christoph Feck, on
behalf of Glenn Watson.
Committed on 02/08/2018 at 12:28.
Pushed by cfeck into branch 'master'.

Fix KTimeComboBox input mask for AM/PM times

In some cases, the strings returned from amText() and
pmText() may differ in case to the provided format
in the timeFormatToInputMask method.

This results in an incorrect mask string being provided
to the line edit control.

Instead, detect if the format string uses upper or lower
case for the AM/PM specification, and use this to convert
the am/pm text strings to a consistent case.
FIXED-IN: 5.49.0

Differential Revision: https://phabricator.kde.org/D14435

M  +24   -0    autotests/ktimecomboboxtest.cpp
M  +1    -0    autotests/ktimecomboboxtest.h
M  +19   -2    src/ktimecombobox.cpp

https://commits.kde.org/kwidgetsaddons/628c5b1335a21bf2a20ebf0af56dcc113c64c181

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list