Jelajahi Sumber

1.修改CommonEditor iOS RangeCell日期格式。

Pen Li 8 tahun lalu
induk
melakukan
ae1848fa49

+ 1 - 1
RedAnt ERP Mobile/common/CommonEditor/CommonEditorRangeCell.m

@@ -134,7 +134,7 @@
     
     NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
     [dateFormatter setDefaultDate:[NSDate date]];
-    [dateFormatter setDateFormat:@"yyyy-MM-dd"];
+    [dateFormatter setDateFormat:@"MM/dd/YYYY"];
     
     DatePickerViewController* dpvc =[ [UIStoryboard storyboardWithName:@"CommonEditor" bundle:nil] instantiateViewControllerWithIdentifier:@"DatePickerViewController"];