[mythtv-commits] Ticket #9833: Date/Time mythweb session setting overridden by language specific defaults

MythTV noreply at mythtv.org
Fri Jun 10 07:03:12 UTC 2011


#9833: Date/Time mythweb session setting overridden by language specific defaults
-------------------------------------------------+------------------------
     Reporter:  Martin Bene <myth@…>             |      Owner:  kormoc
         Type:  Patch - Bug Fix                  |     Status:  new
     Priority:  minor                            |  Milestone:  unknown
    Component:  Plugin - MythWeb                 |    Version:  0.24-fixes
     Severity:  medium                           |   Keywords:
Ticket locked:  0                                |
-------------------------------------------------+------------------------
 Setting time format to "09:00/21:00" with english language does not work,
 times in listing view immediately revert to "09:00 AM / 09:00 pm" format.

 The mythweb date/time format settings configurable in TV => My Session
 aren't actually used and get overwritten in the session object by language
 - dependant defaults.

 Issue seems to be caused by mythweb/classes/Translate.php which
 unconditionaly updates the following session settings to the language
 specific default:

 date_statusbar, date_scheduled, date_scheduled_popup,
 date_recorded, date_search, date_listing_key
 date_listing_jump, date_channel_jump, date_job_status
 time_format

 a possible fix could be:
 * only set these values in translate.php if the session object does not
 yet have a value for the setting
 * delete the settings when changing the language

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/9833>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list