Opened 17 years ago
Closed 17 years ago
#6103 closed enhancement (fixed)
bigclock patch to use selected Time Format vs hardcoded 24-hour format
Reported by: | Owned by: | paulh | |
---|---|---|---|
Priority: | minor | Milestone: | 0.22 |
Component: | mythtv | Version: | head |
Severity: | low | Keywords: | bigclock |
Cc: | Ticket locked: | no |
Description
The attached patch changes the LCD bigclock to display in the same format as the "Localization" "Time format".
Attachments (3)
Change History (8)
by , 17 years ago
Attachment: | bigclock.patch added |
---|
comment:1 by , 17 years ago
The numbers work fine for my Imon LCD screen - I don't see the AM/PM text string but that's of little concern since I can do that conversion in my head much faster than I can do the 0-23 -> 1-12 conversion...
Please apply this patch. It will be good to see some momentum on LCD-related patches.
by , 17 years ago
Attachment: | bigclock_v2.patch added |
---|
v2 - Moved AM/PM up to line 2 for compatibility with Imon LCD.
comment:2 by , 17 years ago
Added some pics of the patch in use on my web site: http://jartz.gotdns.com:8008/files/lcd/bigclock_patch.html
comment:3 by , 17 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
J-e-f-f-A there is a problem with this patch it causes mythlcdserver to fail to start up for me because of an ASSERT. The problem is the timeformat hasn't been set the first time dobigclock() is called from Init().
comment:4 by , 17 years ago
New patch uploaded (bigclock_v3.patch)
Removes un-necessary init call to dobigclock in LCDProcClient::init
Removes un-necessary init processing in LCDProcCLient::dobigclock as there is nothing to initialize within this function. All necessary initialization is already done within LCDProcClient::init
comment:5 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
(In [19952]) Use the user selected time format for the big clock LCD screen rather than always using 24 hour format. Adds an am/pm indicator and flashes a dot instead of the colon.
This will use the myth system wide time format by default but if you want to use a different format for the LCD you can add a 'LCDTimeFormat' setting in the DB and it will use that.
Patch by J-e-f-f-A. Closes #6103.
bigclock patch to use selected Time format vs hardcoded 24-hour clock