Time zone search for "Berlin" returns many suburbs of Berlin

Bug #1454195 reported by Matthew Paul Thomas on 2015-05-12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-system-settings (Ubuntu)

Bug Description

Ubuntu 15.04 r207

1. Go to System Settings > "Time & Date" > "Time zone".
2. In the search field, type "Berlin".

What happens: You get 12 results -- Berlin Koepenick, Berlin Mitte, Berlin Pankow, Berlin Reinickendorf, Berlin Schoeneberg, Berlin Spandau, Berlin Steglitz Zehlendorf, Berlin Tempelhof, Berlin Treptow, Berlin Wilmersdorf, Berlin Berlin [sic], Bernau bei Berlin, New Berlin Wisconsin, and Uberlingen.

What should happen: You get 2 results -- Berlin Germany, and New Berlin Wisconsin.

The spurious Uberlingen result is covered by bug 1454186. The others are all parts of the city of Berlin, all of them with the same time zone.

<https://wiki.ubuntu.com/TimeAndDate#Time_zone>: "In addition, to avoid duplication, a suburb (PPLX) should not be included in search results whenever a larger settlement (PPL, PPLA, PPLC) that has the same time zone is present in the same search results."

[Originally discussed in bug 1426400.]

Matthew Paul Thomas (mpt) wrote :
Changed in ubuntu-system-settings (Ubuntu):
status: New → Triaged
description: updated

On Tue, May 12, 2015 at 11:06:35AM -0000, Matthew Paul Thomas wrote:
> Specification updated.
> <https://wiki.ubuntu.com/TimeAndDate?action=diff&rev2=102&rev1=101>

To the person that implements this: libtimezonemap (the library that
u-s-s is using) already has the PPL data that you need. You *may* (I
didn't check), need to extend it to expose this as a property so that
u-s-s can access it to filter.

I will review a patch that implements this.

Iain Lane [ <email address hidden> ]
Debian Developer [ <email address hidden> ]
Ubuntu Developer [ <email address hidden> ]

Changed in ubuntu-system-settings (Ubuntu):
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers