GNOME Bugzilla – Bug 529991
12-hour time not handled properly in world clock
Last modified: 2020-11-06 20:25:22 UTC
Please describe the problem: If 12-hour format is selected in the new GNOME world clock applet, the time for each location underneath the map will still display in 24-hour format - however, if the clock is left open, at the top of the minute when the times update they properly display in 12-hour notation until the world clock is closed again. Steps to reproduce: 1. Make sure "12-hour format" is selected in Clock Preferences, and one or more locations are set 2. Click the clock applet to open the clock pop-up panel, expand Locations if not already expanded 3. Note the times for each location are in 24-hour format 4. Wait until the top of the minute 5. Note that after the times refresh, they are in 12-hour format. 6. Click the clock applet to close it, and again to open it 7. Note the times are once again in 24-hour format. Actual results: See above Expected results: The world clock should consistently display 12-hour times for each Location when 12-hour format is selected. Does this happen every time? Yes Other information:
*** Bug 530034 has been marked as a duplicate of this bug. ***
*** Bug 527404 has been marked as a duplicate of this bug. ***
It's also not honored in the time adjustment dialog (for 12 hour it would need to grow an AM/PM selector, of course.)
Created attachment 111759 [details] [review] Re-refresh the location tiles after signal connection The time format for the city tiles was being requested during tile creation, which was before the "need-clock-format" signal was connected. I'm not sure whether it's the best fix, but adding a separate call to refresh the city tiles after signal connection fixes the bug for me. Patch is against 2.22.1.3, but should apply to head.
Sorry - to be clear, this fixes the reported problem in city tiles, not in the time adjustment dialog.
*** Bug 543261 has been marked as a duplicate of this bug. ***
Revision 11201 fixed the display part of this bug. The problem with the time adjustment dialog mentioned in comment #3 still stands.
bugzilla.gnome.org is being replaced by gitlab.gnome.org. We are closing all old bug reports in Bugzilla which have not seen updates for many years. If you can still reproduce this issue in a currently supported version of GNOME (currently that would be 3.38), then please feel free to report it at https://gitlab.gnome.org/GNOME/gnome-panel/-/issues/ Thank you for reporting this issue and we are sorry it could not be fixed.