Skip to content
Commit 628c5b13 authored by Glenn Watson's avatar Glenn Watson Committed by Christoph Feck
Browse files

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.

BUG: 361764
FIXED-IN: 5.49.0

Differential Revision: https://phabricator.kde.org/D14435
parent 00175c83
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment