diff options
author | Nils Wallménius <nils@rockbox.org> | 2008-05-15 20:16:38 +0000 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2008-05-15 20:16:38 +0000 |
commit | 4840682e258b85acbbe4254de950f72cb7757041 (patch) | |
tree | bc67dd031a2b6bfa029cbfb86aa462b6242bfa76 | |
parent | 1ea884b53126206ffbc1607454d5d7d255acec7e (diff) | |
download | rockbox-4840682e258b85acbbe4254de950f72cb7757041.tar.gz rockbox-4840682e258b85acbbe4254de950f72cb7757041.zip |
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
-rw-r--r-- | apps/plugins/clock/clock_draw_digital.c | 2 | ||||
-rw-r--r-- | docs/CREDITS | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/clock/clock_draw_digital.c b/apps/plugins/clock/clock_draw_digital.c index 790beb4c29..062f291df8 100644 --- a/apps/plugins/clock/clock_draw_digital.c +++ b/apps/plugins/clock/clock_draw_digital.c | |||
@@ -55,7 +55,7 @@ void digital_clock_draw(struct screen* display, | |||
55 | buffer_printf(buffer, buffer_pos, "%c", display_colon?':':' '); | 55 | buffer_printf(buffer, buffer_pos, "%c", display_colon?':':' '); |
56 | buffer_printf(buffer, buffer_pos, "%02d", time->minute); | 56 | buffer_printf(buffer, buffer_pos, "%02d", time->minute); |
57 | if(settings->general.hour_format==H12){ | 57 | if(settings->general.hour_format==H12){ |
58 | if(time->hour>12){ | 58 | if(time->hour>=12){ |
59 | buffer_printf(buffer, buffer_pos, "P");/* PM */ | 59 | buffer_printf(buffer, buffer_pos, "P");/* PM */ |
60 | }else{ | 60 | }else{ |
61 | buffer_printf(buffer, buffer_pos, "A");/* AM */ | 61 | buffer_printf(buffer, buffer_pos, "A");/* AM */ |
diff --git a/docs/CREDITS b/docs/CREDITS index 8ec78d77b7..dc43e283c9 100644 --- a/docs/CREDITS +++ b/docs/CREDITS | |||
@@ -389,6 +389,7 @@ Tomasz Wasilczyk | |||
389 | Kenjiro Arai | 389 | Kenjiro Arai |
390 | John Kaminar | 390 | John Kaminar |
391 | Joris Goosen | 391 | Joris Goosen |
392 | Mark Ganson | ||
392 | 393 | ||
393 | 394 | ||
394 | The libmad team | 395 | The libmad team |