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

Christoph Feck <cf...@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 <cf...@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 watching all bug changes.

Reply via email to