mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-03 08:38:18 +00:00
(XMB) Use the same timedate format as PS3 XMB
This commit is contained in:
parent
ea103fa7ec
commit
dff0031145
@ -1689,7 +1689,7 @@ static void xmb_frame(void)
|
||||
|
||||
if (settings->menu.timedate_enable)
|
||||
{
|
||||
menu_display_timedate(timedate, sizeof(timedate), 0);
|
||||
menu_display_timedate(timedate, sizeof(timedate), 4);
|
||||
|
||||
xmb_draw_text(menu, xmb, timedate,
|
||||
width - xmb->margins.title.left - xmb->icon.size / 4,
|
||||
|
@ -479,6 +479,9 @@ void menu_display_timedate(char *s, size_t len, unsigned time_mode)
|
||||
case 3: /* Time (hours-minutes) */
|
||||
strftime(s, len, "%H:%M", localtime(&time_));
|
||||
break;
|
||||
case 4: /* Date and time, without year and seconds */
|
||||
strftime(s, len, "%d/%m %H:%M", localtime(&time_));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user