Bug 1054132 - [Settings] simplify hour12 detection way
Merge pull request #22909 from gasolin/issue-1054132

Bug 1054132 - [Settings] simplify hour12 detection way, r=arthur