Author: dmeyer
Date: Tue Sep 11 09:22:09 2007
New Revision: 2802

Log:
read correct date/time string

Modified:
   trunk/metadata/src/video/riff.py

Modified: trunk/metadata/src/video/riff.py
==============================================================================
--- trunk/metadata/src/video/riff.py    (original)
+++ trunk/metadata/src/video/riff.py    Tue Sep 11 09:22:09 2007
@@ -467,7 +467,7 @@
                         try:
                             # The doc says it should be a format like
                             # "Wed Jan 02 02:03:55 1990"
-                            date = time.strptime(value, "%a %b %d %Y %H:%M:%S")
+                            date = time.strptime(value, "%a %b %d %H:%M:%S %Y")
                         except ValueError:
                             try:
                                 # The Casio S500 uses "2005/12/24/ 14:11"

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to