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, "%c", display_colon?':':' ');
|
||||||
buffer_printf(buffer, buffer_pos, "%02d", time->minute);
|
buffer_printf(buffer, buffer_pos, "%02d", time->minute);
|
||||||
if(settings->general.hour_format==H12){
|
if(settings->general.hour_format==H12){
|
||||||
if(time->hour>12){
|
if(time->hour>=12){
|
||||||
buffer_printf(buffer, buffer_pos, "P");/* PM */
|
buffer_printf(buffer, buffer_pos, "P");/* PM */
|
||||||
}else{
|
}else{
|
||||||
buffer_printf(buffer, buffer_pos, "A");/* AM */
|
buffer_printf(buffer, buffer_pos, "A");/* AM */
|
||||||
|
|
|
@ -389,6 +389,7 @@ Tomasz Wasilczyk
|
||||||
Kenjiro Arai
|
Kenjiro Arai
|
||||||
John Kaminar
|
John Kaminar
|
||||||
Joris Goosen
|
Joris Goosen
|
||||||
|
Mark Ganson
|
||||||
|
|
||||||
|
|
||||||
The libmad team
|
The libmad team
|
||||||
|
|
Loading…
Reference in a new issue