[feisty] OnTV does not show 24-hour clock properly

Bug #88158 reported by haaland
6
Affects Status Importance Assigned to Milestone
OnTV
Won't Fix
Medium
ontv (Ubuntu)
Confirmed
Low
Chris Rose

Bug Description

Binary package hint: ontv

The OnTV-applet shows all times between 12:00 and 23:59 wrong. Instead of f.ex. 17:30, it shows 05:30. This is visible in the Search program-dialog, and also when showing details about a program in the list.

I'm running english Feisty, and ontv is version 2.6.0-0ubuntu1.

Revision history for this message
haaland (haaland) wrote :

That 70's show is on from 17:30 to 18:00, not 05:30 to 06:00 as OnTV tells me.

Revision history for this message
Chris Rose (chris-vault5) wrote :

Thanks for the bug report. What locale are you using?

Changed in ontv:
assignee: nobody → chris-vault5
status: Unconfirmed → Needs Info
Revision history for this message
Johan Svedberg (johan-svedberg-com) wrote :

Sure it's not a rerun that's on so late? :)

OnTV should really just show the information in the downloaded XMLTV file (stored in ~/.xmltv/tv_grab_<country>.xmltv). So if you could verify that OnTV is actually doing something wrong by checking if the program exists in that file it would be great.

Revision history for this message
haaland (haaland) wrote :

I'm not certain how I check properly which locale I'm running, but this is the output from locale:
LANG=en_US.UTF-8
LANGUAGE=en_NO:en_US:en_GB:en
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
Please ask again if you need more info.

It's definately not a rerun. This is the relevant parts of my tv_grab_no.xmltv:
  <programme start="20070226173000 +0100" stop="20070226180000 +0100" channel="tv2.no">
    <title lang="no">That '70s Show</title>
    <desc lang="no">Amerikansk komiserie.</desc>
    <episode-num system="all-seasons">21</episode-num>
    <previously-shown />
  </programme>
As you can see, the time is correct here.

Revision history for this message
Johan Svedberg (johan-svedberg-com) wrote :

The problem is that the timezone on your system doesn't match the timezone in the xmltv file (+0100), setting LC_TIME to "no_NO.UTF-8" or something should work.

OnTV should still be able to do the correct thing here and there is a bug open at http://bugzilla.gnome.org/show_bug.cgi?id=348876

Revision history for this message
haaland (haaland) wrote :

Sorry to ask, but how do I set this value properly? You may also want to know that the panel drop-down shows programs at correct times.

Changed in ontv:
importance: Undecided → Low
status: Needs Info → Confirmed
Changed in ontv:
status: Unknown → Confirmed
Changed in ontv:
importance: Unknown → Medium
Revision history for this message
Olof Kindgren (flamingolof) wrote :

I'm planning to fix this for the next release

Changed in ontv:
status: Confirmed → Won't Fix
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.