ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/xmltv_parser/trunk/xmltv_parser/ProgramEntryControl.cs
(Generate patch)

Comparing trunk/xmltv_parser/ProgramEntryControl.cs (file contents):
Revision 147 by william, Thu Mar 14 15:23:09 2013 UTC vs.
Revision 148 by william, Thu Mar 14 15:24:51 2013 UTC

--- trunk/xmltv_parser/ProgramEntryControl.cs	2013/03/14 15:23:09	147
+++ trunk/xmltv_parser/ProgramEntryControl.cs	2013/03/14 15:24:51	148
@@ -32,12 +32,12 @@ namespace xmltv_parser
             DateTime stop = DateTime.Parse(this.program.Stop);
             TimeSpan length = (stop - start);
             //string channel = string.Format("{0}:{1}", this.program.ChannelNumber, this.program.ChannelName);
-            //string runtime = string.Format(" {0}min", length.TotalMinutes);
+            string runtime = string.Format("{0}min", length.TotalMinutes);
             //txtProgramAirTime.Text = string.Format("{0}{1}{2}", start.ToString("hh:mm tt (dddd dd/yyyy)"), channel, runtime);
 
             txtProgramTitle.Text = string.Format("{0}: {1}", this.program.Title, this.program.SubTitle);
             txtProgramDescription.Text = string.Format("    {0}", this.program.Description);
-            txtProgramAirTime.Text = string.Format("        Airs: {0} at {1} on channel: {2} ({3})", start.ToString("dddd (MM/dd/yyyy)"), start.ToString("hh:mm tt"), this.program.ChannelNumber, this.program.ChannelName);
+            txtProgramAirTime.Text = string.Format("        Airs: {0} at {1} on channel: {2} ({3}) ({4})", start.ToString("dddd (MM/dd/yyyy)"), start.ToString("hh:mm tt"), this.program.ChannelNumber, this.program.ChannelName, runtime);
         }
 
         private void ProgramEntryControl_Load(object sender, EventArgs e)