[vlc-commits] VLMshell: use %Y-%m-%d instead of %F

Jean-Baptiste Kempf git at videolan.org
Thu Feb 17 16:35:25 CET 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Feb 17 16:34:54 2011 +0100| [c9269a36ffd7b2007f15b883299615faf0cae16c] | committer: Jean-Baptiste Kempf

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

This is equivalent, but seems to be working better on mingw

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c9269a36ffd7b2007f15b883299615faf0cae16c
---

 src/input/vlmshell.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/input/vlmshell.c b/src/input/vlmshell.c
index d3ba1b8..d1c51ba 100644
--- a/src/input/vlmshell.c
+++ b/src/input/vlmshell.c
@@ -1496,7 +1496,7 @@ static vlm_message_t *vlm_Show( vlm_t *vlm, vlm_media_sys_t *media,
                 struct tm tm;
                 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 ) );
                 vlm_MessageAdd( msg_schedule,
                                 vlm_MessageNew( "next launch", "%s", psz_date ) );



More information about the vlc-commits mailing list