D14435: Fix KTimeComboBox input mask for AM/PM times
Glenn Watson
noreply at phabricator.kde.org
Sat Jul 28 08:45:30 BST 2018
glennw created this revision.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: kde-frameworks-devel.
glennw requested review of this revision.
REVISION SUMMARY
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.
BUG: 361764
REPOSITORY
R236 KWidgetsAddons
REVISION DETAIL
https://phabricator.kde.org/D14435
AFFECTED FILES
src/ktimecombobox.cpp
To: glennw
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180728/9c8820d6/attachment.html>
More information about the Kde-frameworks-devel
mailing list