刘韬 5 years ago
parent
commit
637e6a3611
1 changed files with 1 additions and 1 deletions
  1. 1 1
      DataFusion/src/com/zskk/control/ViewController.java

+ 1 - 1
DataFusion/src/com/zskk/control/ViewController.java

@@ -169,7 +169,7 @@ public class ViewController extends Controller {
 		if (dateStr == null) {
 			return new Date();
 		}
-		SimpleDateFormat sdf= new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
+		SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss");
 	    Date date = null;
 		try {
 			date = sdf.parse(dateStr);