Wrong time for San Francisco as Added City

Bug #1567890 reported by PAVUK on 2016-04-08
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Clock App
Po-Hsu Lin

Bug Description

When I add San Francisco, wrong time is displayed. Time for other cities in the same time zone is correct.
See screenshot in the attachment.

Related branches

PAVUK (marek-antozi) wrote :
Po-Hsu Lin (cypressyew) wrote :

Thanks for spotting this.
I can confirm this, just by adding SF and Mountain View.

From the code, SF was set to the timezone of Costa_Rica, which is one hour ahead of it:

void StaticTimeZoneModel::addCity(const QString &cityId, const QString &cityName, const QString
&timezone, const QString &countryName) {
addCity("San Francisco", _("San Francisco"), "America/Costa_Rica", _("United States"));

Changed in ubuntu-clock-app:
assignee: nobody → Po-Hsu Lin (cypressyew)
status: New → In Progress
Changed in ubuntu-clock-app:
importance: Undecided → High

Fix committed into lp:ubuntu-clock-app at revision 477, scheduled for release in ubuntu-clock-app, milestone 3.8

Changed in ubuntu-clock-app:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers