FS#8995 by Mark Ganson fixing the display of am/pm for the digital clock mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17526 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
1ea884b531
commit
4840682e25
2 changed files with 2 additions and 1 deletions
|
@ -55,7 +55,7 @@ void digital_clock_draw(struct screen* display,
|
|||
buffer_printf(buffer, buffer_pos, "%c", display_colon?':':' ');
|
||||
buffer_printf(buffer, buffer_pos, "%02d", time->minute);
|
||||
if(settings->general.hour_format==H12){
|
||||
if(time->hour>12){
|
||||
if(time->hour>=12){
|
||||
buffer_printf(buffer, buffer_pos, "P");/* PM */
|
||||
}else{
|
||||
buffer_printf(buffer, buffer_pos, "A");/* AM */
|
||||
|
|
|
@ -389,6 +389,7 @@ Tomasz Wasilczyk
|
|||
Kenjiro Arai
|
||||
John Kaminar
|
||||
Joris Goosen
|
||||
Mark Ganson
|
||||
|
||||
|
||||
The libmad team
|
||||
|
|
Loading…
Reference in a new issue