Ignore comments in /etc/timezone

Bug #1312775 reported by Jean-Baptiste Lallement
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
indicator-datetime (Ubuntu)
Fix Released
Medium
Charles Kerr

Bug Description

If there is a comment in /etc/timezone the comment is displayed in the indicator and the timezone is ignored.
In the screenshot attached the timezone on the 1rst line is Europe/Paris but the clock indicates UTC and the name of the timezone is the full content of /etc/timezone.

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: indicator-datetime 13.10.0+14.04.20140415.3-0ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Apr 25 16:23:11 2014
InstallationDate: Installed on 2013-09-03 (233 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130902)
SourcePackage: indicator-datetime
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
Changed in indicator-datetime (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Charles Kerr (charlesk)
Changed in indicator-datetime (Ubuntu):
assignee: nobody → Charles Kerr (charlesk)
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package indicator-datetime - 13.10.0+14.10.20140611-0ubuntu1

---------------
indicator-datetime (13.10.0+14.10.20140611-0ubuntu1) utopic; urgency=low

  [ Charles Kerr ]
  * when src/timezone-file.c reads the contents of a file, skip lines
    that begin with '#' (LP: #1312775)
  * Use the Suru Arpeggio as the default alarm sound. (LP: #1309063)
  * Prefer to use ubuntu-platform-hardware-api for wakeups when possible
    s.t. user-defined alarms/appointments can wake up the phone from
    sleep to give a snap decision. (LP: #1299916)

  [ Sergey "Shnatsel" Davidoff ]
  * Add Pantheon, the desktop environment of elementary Project, to
    OnlyShowIn lists in .desktop files. (LP: #1301699)
 -- Ubuntu daily release <email address hidden> Wed, 11 Jun 2014 12:36:52 +0000

Changed in indicator-datetime (Ubuntu):
status: In Progress → Fix Released
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.