upnp: fix parsing of <dc:date> (which is in W3C format)
authormontellese <montellese@xbmc.org>
Fri, 13 Dec 2013 21:33:15 +0000 (22:33 +0100)
committermontellese <montellese@xbmc.org>
Fri, 13 Dec 2013 21:33:15 +0000 (22:33 +0100)
xbmc/network/upnp/UPnPInternal.cpp

index 4e3100d..96acecb 100644 (file)
@@ -631,7 +631,7 @@ PopulateTagFromObject(CVideoInfoTag&         tag,
                       PLT_MediaItemResource* resource /* = NULL */)
 {
     CDateTime date;
-    date.SetFromDateString((const char*)object.m_Date);
+    date.SetFromW3CDate((const char*)object.m_Date);
 
     if(!object.m_Recorded.program_title.IsEmpty())
     {