Wrong time for San Francisco as Added City

Bug #1567890 reported by PAVUK
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Clock App
Fix Committed
High
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

Revision history for this message
PAVUK (marek-antozi) wrote :
Revision history for this message
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
Revision history for this message
Jenkins Bot (ubuntu-core-apps-jenkins-bot) wrote :

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.