Simplicity-Team / WooBoxForMIUI

一个基于 MIUI13+(Android 12+) 适配的自定义工具 // A system extension Xposed module based on MIUI13+ (Android12+)
GNU General Public License v3.0
509 stars 43 forks source link

[BUG] Clock won't follow automatic 24/12h format if show seconds is enabled #259

Open derivativeoflog7 opened 1 year ago

derivativeoflog7 commented 1 year ago

Describe the BUG situation If the clock format is set to auto (based on language) in MIUI settings, the phone language is set to one that defaults to 24 hours format (eg Italian), and show seconds on the clock, WooBox will make the clock 12h.

How to reproduce

  1. Install WooBox
  2. Make sure you have the clock format set to automatic in MIUI settings, and a language that defaults to 24h
  3. Enable show seconds in clock
  4. Clock will be 12h

Phone Info:

Additional Information This can be "fixed" by setting the time format to always 24h in the phone settings, but this is not hinted anywhere and I don't think it's irrational to assume many people are confused by this (I know three of them - myself, for the longest time when I originally had this module, and I only found out the "fix" by looking at the source code of the module; a friend of mine to which I had to tell about the bug; and #249)