• Florian Müllner's avatar
    dateMenu: Make sure we always display a clock name · 22883f2f
    Florian Müllner authored
    We currently use the city name for all location except named timezones.
    However locations only have a city name if they are of level CITY or
    DETACHED, or if they are of level WEATHER_STATION with a parent of level
    CITY.
    
    So when libgweather commit d7682676ac9 moved weather station locations from
    cities to countries, it broke their names in the world clocks section.
    
    To fix this, stop making assumptions about when we can use the city name
    and simply try it first for all locations and fall back to the plain name
    if its not available.
    
    #1150
    22883f2f
Name
Last commit
Last update
.gitlab-ci Loading commit data...
.settings Loading commit data...
data Loading commit data...
docs/reference Loading commit data...
js Loading commit data...
man Loading commit data...
meson Loading commit data...
po Loading commit data...
src Loading commit data...
subprojects Loading commit data...
test Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.gitmodules Loading commit data...
COPYING Loading commit data...
HACKING.md Loading commit data...
NEWS Loading commit data...
README.md Loading commit data...
README.mdwn Loading commit data...
cldr2json.py Loading commit data...
config.h.meson Loading commit data...
gnome-shell.doap Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...