summaryrefslogtreecommitdiff
path: root/apps/debug_menu.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2021-11-20 23:03:55 +0100
committerWolfram Sang <wsa@the-dreams.de>2021-11-20 23:06:29 +0100
commit16a71a19a80932702cc2c03425ee0f831613b1b7 (patch)
treef07fa61f026d0304dd3866d2d7fa4df062d9bd9a /apps/debug_menu.c
parent336ea51af65c8511ba38f0c3ccfdf7634b87c12d (diff)
downloadrockbox-16a71a19a80932702cc2c03425ee0f831613b1b7.tar.gz
rockbox-16a71a19a80932702cc2c03425ee0f831613b1b7.zip
debug_menu: add format specifier for seconds in RDS timestamp
Add the 6th format specifier for the 6th parameter and show seconds, too. Most radio stations will update once per minute only, but still... Change-Id: Ia878bc001c903112df3ed336df260e30eae68e3b
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r--apps/debug_menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index 33970da581..23deb6cff2 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -2097,7 +2097,7 @@ static int radio_callback(int btn, struct gui_synclist *lists)
2097 2097
2098 struct tm* time = gmtime(&seconds); 2098 struct tm* time = gmtime(&seconds);
2099 simplelist_addline( 2099 simplelist_addline(
2100 "CT:%4d-%02d-%02d %02d:%02d", 2100 "CT:%4d-%02d-%02d %02d:%02d:%02d",
2101 time->tm_year + 1900, time->tm_mon + 1, time->tm_mday, 2101 time->tm_year + 1900, time->tm_mon + 1, time->tm_mday,
2102 time->tm_hour, time->tm_min, time->tm_sec); 2102 time->tm_hour, time->tm_min, time->tm_sec);
2103 } 2103 }