Преглед изворни кода

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

Pen Li пре 8 година
родитељ
комит
ae1848fa49
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      RedAnt ERP Mobile/common/CommonEditor/CommonEditorRangeCell.m

+ 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"];