GNOME Bugzilla – Bug 582857
[PATCH] Implemented the 'fuzzy' format
Last modified: 2020-11-07 12:15:23 UTC
I added support for a fuzzy clock as described here: http://brainstorm.ubuntu.com/idea/6252/
Created attachment 134754 [details] [review] Implemented the fuzzy format When the gconf key 'format' is set to 'fuzzy', the clock shows time like a human would read it, like 'quarter past ten'. It has support for i18n and special hours like 'noon'. This implements http://brainstorm.ubuntu.com/idea/6252/ . Added description of fuzzy format to the .schemas.in file. The main label of the clock is now put together by 'format_label()', which calls 'format_date()' and 'format_time()' as needed. Those two funcions remove redundances and respect the different 'cd->format' settings. Thus, cd->timeformat and cd->fallback_timeformat (which wasn't used anyway) are not needed anymore and have been removed. Added the function 'string_from_locale()', which calls strftime on a locale. It is used several times throughout the code.
Created attachment 134755 [details] [review] Updated German translation Translated the new strings to my mother language.
*** Bug 520228 has been marked as a duplicate of this bug. ***
Review of attachment 134754 [details] [review]: Looks like a fun thing to have, but needs GSettings migration. ::: applets/clock/clock.c @@ +1948,1 @@ value = gconf_value_get_bool (entry->value); Patch needs to be updated for gconf->gsettings migration.
Review of attachment 134755 [details] [review]: Please update after GSettings rework.
bugzilla.gnome.org is being replaced by gitlab.gnome.org. We are closing all old feature requests in Bugzilla which have not seen updates for many years. If you still use gnome-panel and if you are still requesting this feature 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 implemented.