[mythtv-users] Date format in 0.25 'Watch Recordings' screen

Jim Stichnoth stichnot at gmail.com
Fri Apr 13 01:52:35 UTC 2012


On Thu, Apr 12, 2012 at 6:35 PM, R. G. Newbury <newbury at mandamus.org> wrote:
> On 04/12/2012 07:18 PM, Jim Stichnoth wrote:
>>
>> On Thu, Apr 12, 2012 at 11:15 AM, John Pilkington<J.Pilk at tesco.net>
>>  wrote:
>>>
>>> Hi:  I usually have the date format set so that I get a direct indication
>>> of
>>> a recording's filename ( ie Thurs 2012-04-12) but in 0.25 MythCenter_Wide
>>> this now shows as the 'friendly' translation to 'Today', without the
>>> date.
>>>  Is there a way to override this?
>>
>>
>> This is controlled by adding the kSimplified option to the calls in
>> ProgramInfo::ToMap().  There's no option to configure its use.  If you
>> poke around in that function, you might find strings that are
>> formatted closer to your needs, and change your theme to use them, but
>> I'm not sure there are any that you'll like.
>>
>> Jim
>
>
> Can you point me to where these calls are? I did a grep for Program and Map
> in the mythtv source and in the themes and bindings and came up empty.
>
> Personally, I'd like to see dates too. Maybe these conversions can be turned
> off with a judicious patch?

http://code.mythtv.org/trac/browser/mythtv/mythtv/libs/libmyth/programinfo.cpp

Look for the method ProgramInfo::ToMap, and the use of kSimplify for
various date strings.

Jim


More information about the mythtv-users mailing list