Fixed 24-hour time formats not being used in time pickers.
Merge pull request #1123 from MattiasBuelens/2.x

Fixed 24-hour time formats not being used in time pickers.