/[xmltv_parser]/trunk/GBPVRProgramDatabaseFixer/SQLLITE.cs
ViewVC logotype

Diff of /trunk/GBPVRProgramDatabaseFixer/SQLLITE.cs

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

--- trunk/GBPVRProgramDatabaseFixer/SQLLITE.cs	2013/03/16 23:00:07	205
+++ trunk/GBPVRProgramDatabaseFixer/SQLLITE.cs	2013/03/16 23:01:45	206
@@ -848,7 +848,7 @@
         }
         public void UpdateGBPVRPrograms(List<IPROGRAMME> programs)
         {
-            int ChunkSize = 512;
+            int ChunkSize = 1024;
             var ChunkList = programs.Chunk<IPROGRAMME>(ChunkSize);
 
             double total = programs.Count;
@@ -1022,8 +1022,8 @@
             builder.AppendFormat("\"{0}\",", program.name);
             builder.AppendFormat("\"{0}\",", program.sub_title);
             builder.AppendFormat("\"{0}\",", program.description);
-            builder.AppendFormat("'{0}',", program.start_time);
-            builder.AppendFormat("'{0}',", program.end_time);
+            builder.AppendFormat("'{0}',", program.start_time.ToString("yyyy/MM/dd HH:mm:ss.fffffff"));
+            builder.AppendFormat("'{0}',", program.end_time.ToString("yyyy/MM/dd HH:mm:ss.fffffff"));
             builder.AppendFormat("{0},", program.channel_oid);
             builder.AppendFormat("\"{0}\",", program.unique_identifier);
             builder.AppendFormat("\"{0}\");", program.rating);

 

  ViewVC Help
Powered by ViewVC 1.1.22