duhongyu vor 5 Jahren
Ursprung
Commit
9525e71231

+ 2 - 3
代码/TVShoppingCallCenter_ZLJ/Controllers/ManagementCenter/TodoManagementController.cs

@@ -316,14 +316,13 @@ namespace TVShoppingCallCenter_ZLJ.Controllers.ManagementCenter
316 316
                         model.F_IsRemind = 0;
317 317
                     else
318 318
                         model.F_IsRemind = 1;
319
-                    DateTimeFormatInfo dtFormat = new DateTimeFormatInfo();
320
-                    dtFormat.ShortDatePattern = "yyyy/MM/dd HH:mm:ss";
319
+                    
321 320
                  
322 321
                     if (!string .IsNullOrEmpty (dr["待办提醒时间"].ToString()))
323 322
                     {
324 323
                         try
325 324
                         {
326
-                            model.F_Remindertime = Convert.ToDateTime(dr["待办提醒时间"].ToString(), dtFormat);
325
+                            model.F_Remindertime = DateTime .Parse (dr["待办提醒时间"].ToString() );
327 326
                         }
328 327
                         catch
329 328
                         {