Simplicity-Team/WooBoxForMIUI

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

derivativeoflog7 opened this issue · 0 comments

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:

  • Device model: Poco X5 Pro 5G (redwood)
  • MIUI version: xiaomi.eu 14.0.3.0
    -Android version: 13

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)