/[xmltv_parser]/branches/linux/xmltv_parser/libxmltv/Core/XMLTVProgram.cs
ViewVC logotype

Diff of /branches/linux/xmltv_parser/libxmltv/Core/XMLTVProgram.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/libxmltv/Core/XMLTVProgram.cs	2013/03/14 12:43:38	140
+++ branches/linux/xmltv_parser/libxmltv/Core/XMLTVProgram.cs	2015/07/29 19:09:14	282
@@ -56,9 +56,9 @@
         #region Property Dictionary Support
         private IPropertyDictionary _MetaData;
         public IPropertyDictionary MetaData { get { return _MetaData; } private set { _MetaData = value; } }
-        public ExtraList GetExtraMetaData()
+        public List<IExtraMetaData> GetExtraMetaData()
         {
-            return (ExtraList)this.MetaData[XMLTVConstants.Programs.ProgramExtraMetaData];
+            return (List<IExtraMetaData>)this.MetaData[XMLTVConstants.Programs.ProgramExtraMetaData];
         }
         #endregion
 
@@ -70,8 +70,8 @@
                  MetaData[XMLTVConstants.Programs.ProgramTitle].ToString(),
                  MetaData[XMLTVConstants.Programs.ProgramSubTitle].ToString(),
                  MetaData[XMLTVConstants.Programs.ProgramChannelId].ToString(),
-                ((DateTime)MetaData[XMLTVConstants.Programs.ProgramStart]).ToString("yyyy/MM/dd hh:mm tt"),
-                ((DateTime)MetaData[XMLTVConstants.Programs.ProgramStop]).ToString("yyyy/MM/dd hh:mm tt"));
+                ((DateTime)MetaData[XMLTVConstants.Programs.ProgramStart]).ToDateTimeString(),
+                ((DateTime)MetaData[XMLTVConstants.Programs.ProgramStop]).ToDateTimeString());
         }
 
 

 

  ViewVC Help
Powered by ViewVC 1.1.22