Update clock_app.c (#2446)

Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
Ethanol0001 2023-03-03 10:15:17 -06:00 committed by GitHub
parent 72ca6b25e9
commit 0b7d205253
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,7 +56,7 @@ static void clock_render_callback(Canvas* canvas, void* ctx) {
31, 31,
AlignLeft, AlignLeft,
AlignCenter, AlignCenter,
(data->datetime.hour > 12) ? "PM" : "AM"); (data->datetime.hour > 11) ? "PM" : "AM");
} }
canvas_set_font(canvas, FontSecondary); canvas_set_font(canvas, FontSecondary);
@ -133,4 +133,4 @@ int32_t clock_app(void* p) {
free(clock); free(clock);
return 0; return 0;
} }