/[xmltv_parser]/branches/linux/xmltv_parser/xmltv_parser/ProgramEntryControl.cs
ViewVC logotype

Diff of /branches/linux/xmltv_parser/xmltv_parser/ProgramEntryControl.cs

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

--- 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 @@
             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)

 

  ViewVC Help
Powered by ViewVC 1.1.22