Commit c9269a36 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

VLMshell: use %Y-%m-%d instead of %F

This is equivalent, but seems to be working better on mingw
parent 3e94ba7d
...@@ -1496,7 +1496,7 @@ static vlm_message_t *vlm_Show( vlm_t *vlm, vlm_media_sys_t *media, ...@@ -1496,7 +1496,7 @@ static vlm_message_t *vlm_Show( vlm_t *vlm, vlm_media_sys_t *media,
struct tm tm; struct tm tm;
char psz_date[32]; char psz_date[32];
strftime( psz_date, sizeof(psz_date), "%F %H:%M:%S (%a)", strftime( psz_date, sizeof(psz_date), "%Y-%m-%d %H:%M:%S (%a)",
localtime_r( &i_date, &tm ) ); localtime_r( &i_date, &tm ) );
vlm_MessageAdd( msg_schedule, vlm_MessageAdd( msg_schedule,
vlm_MessageNew( "next launch", "%s", psz_date ) ); vlm_MessageNew( "next launch", "%s", psz_date ) );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment