[mythtv] [mythtv-commits] Ticket #2516: upcoming page does not honor 24h time format

Michael T. Dean mtdean at thirdcontact.com
Mon Oct 2 21:18:38 UTC 2006


On 10/02/06 15:32, MythTV wrote:

>#2516: upcoming page does not honor 24h time format
>
>Comment:
>
> Started to dig this one out, and noticed it gets fixed by setting the
> "Date format" -> "Upcoming Recordings:" string on settings page. Righ
> above the "Hour format" selection. To get the times to 24h format one
> needs to change all %I to %H in date format strings and remove the %p (for
> am/pm) from the strings. Blind me.
>
> On the other hand, shouldn't the field "Hour format" do just that
> automatically, or what's the point of it?
>  
>
I think hour format is the format to use when displaying time only (i.e. 
time without a date), whereas the other formats are whole date/time 
formats.  It doesn't ignore the time specification in the other formats 
because people might legitimately decide to use different formats for 
different parts, and it doesn't take the hour format from any of the 
date formats because there's no way to know which one to copy (users may 
have different time formats on different format strings).

Mike

Mike



More information about the mythtv-dev mailing list