Opened 17 years ago
Closed 15 years ago
#4805 closed defect (wontfix)
mythfilldatabse does not interpret time offset correctly.
Reported by: | Owned by: | danielk | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | MythTV - Mythfilldatabase | Version: | 0.20.2 |
Severity: | medium | Keywords: | mythfilldatabase |
Cc: | Ticket locked: | no |
Description
During my install of Fedora 8 on my MythTV box I chose to set the time zone as GMT-6 instead of choosing by Country/City? (Chicago for CST) this causes 'date' to report the date and time with GMT-6 for the time zone instead of CST.
I'm not sure how mythfilldatabase finds the time zone offset but changing to Chicago (CST) fixed the problem.
With GMT-6 as the time offset the EPG would report the correct current time but all the data was offset by +12 hours (i.e. the correct program would show in the EPG data as 12 hours in the future).
It is my assumption that mythfilldatabase somehow thought the offset should be +6 instead of -6 which would give the 12 hour difference.
Change History (8)
comment:1 Changed 17 years ago by
Owner: | changed from stuartm to danielk |
---|---|
Status: | new → assigned |
comment:5 Changed 15 years ago by
In mythtv-setup, there's a setting:
Your Local Timezone (for XMLTV)
Used if the XMLTV data comes from a different timezone than your own. This adjust the times in the XMLTV EPG data to compensate. 'Auto' converts the XMLTV time to local time using your computer's timezone. 'None' ignores the XMLTV timezone, interpreting times as local.
When you say "GMT-6 as the time offset," do you mean you changed this (MythTV) setting to "-0600"? Doing so would cause exactly the issue you saw. This setting is really only meant for users on the edge of a time zone who receive programming from a source in the other zone or whose listings provider provide incorrect times. It is not a means for specifying your local time zone to MythTV. Therefore, most everyone should use Auto for it.
comment:6 Changed 15 years ago by
No, sorry, I wasn't even aware of that setting. I was speaking of the system time offset in Fedora. I don't know why but I've never liked setting my time zone by a city which I don't live in even if it is in the same time zone as me, so when I was upgrading (reinstalling) from Fedora 8 to Fedora 10 I chose GMT -6 instead of "Chicago".
comment:7 Changed 15 years ago by
Component: | mythfilldatabase → MythTV - Mythfilldatabase |
---|---|
Status: | infoneeded → assigned |
comment:8 Changed 15 years ago by
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
As reported this doesn't seem to affect properly configured systems. You can rename the Chicago time zone definition file to the name of your city if you don't like it.
I'm assuming that you are using Schedules Direct?