diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/menus/time_menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/menus/time_menu.c b/apps/menus/time_menu.c index 1b70570ae4..6d5370473e 100644 --- a/apps/menus/time_menu.c +++ b/apps/menus/time_menu.c | |||
@@ -176,13 +176,13 @@ static void draw_timedate(struct viewport *vp, struct screen *display) | |||
176 | 176 | ||
177 | if (valid_time(tm)) | 177 | if (valid_time(tm)) |
178 | { | 178 | { |
179 | snprintf(time, 16, "%02d:%02d:%02d %s", | 179 | snprintf(time, 16, "%02d:%02d:%02d%s", |
180 | global_settings.timeformat == 0 ? tm->tm_hour : | 180 | global_settings.timeformat == 0 ? tm->tm_hour : |
181 | ((tm->tm_hour + 11) % 12) + 1, | 181 | ((tm->tm_hour + 11) % 12) + 1, |
182 | tm->tm_min, | 182 | tm->tm_min, |
183 | tm->tm_sec, | 183 | tm->tm_sec, |
184 | global_settings.timeformat == 0 ? "" : | 184 | global_settings.timeformat == 0 ? "" : |
185 | tm->tm_hour>11 ? "P" : "A"); | 185 | tm->tm_hour>11 ? " P" : " A"); |
186 | snprintf(date, 16, "%s %d %d", | 186 | snprintf(date, 16, "%s %d %d", |
187 | str(LANG_MONTH_JANUARY + tm->tm_mon), | 187 | str(LANG_MONTH_JANUARY + tm->tm_mon), |
188 | tm->tm_mday, | 188 | tm->tm_mday, |