summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--payloads/coreinfo/coreinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/coreinfo/coreinfo.c b/payloads/coreinfo/coreinfo.c
index 5137ce6192..a3833307db 100644
--- a/payloads/coreinfo/coreinfo.c
+++ b/payloads/coreinfo/coreinfo.c
@@ -128,7 +128,7 @@ static void print_time_and_date(void)
rtc_read_clock(&tm);
mvwprintw(menuwin, 0, 57, "%02d/%02d/%04d - %02d:%02d:%02d",
- tm.tm_mon, tm.tm_mday, 1900 + tm.tm_year, tm.tm_hour,
+ tm.tm_mon + 1, tm.tm_mday, 1900 + tm.tm_year, tm.tm_hour,
tm.tm_min, tm.tm_sec);
}
#endif