Times for noon and 12:30pm not shown correctly in graphical EPG timeline

Issue #447 resolved
prl created an issue

Noon and 12:30pm are shown as 12:00am and 12:30:am in the graphical (and the Infobar EPG) when their respective MENU>Timeline 24 hour settings are disabled.

They should display as 12:00pm and 12:30pm respectively.

Replication steps

In the graphical EPG (or Infobar EPG), set MENU>Timeline 24 hour to OFF. Return to the EPG and navigate to a page where noon and 12:30pm are displayed. The timeline shows them as 12:00am and 12:30am.

Comments (3)

  1. Peter Urbanec

    Fix bug #447: Times for noon and 12:30pm not shown correctly in graphical EPG timeline

    Use "%P" strftime() conversion for am/pm instead of incorrect test on the hour of day to select between "am" and "pm" strings.

    Also re-use precalculated time tick time ttime in both 24-hour and 12-hour time formats instead of recalculating it for 24-hour time.

    → <<cset 9a280993c658>>

  2. Log in to comment