修复编辑个人资料页日期不对问题
This commit is contained in:
@@ -180,7 +180,7 @@
|
||||
- (NSDateFormatter *)dateFormatter {
|
||||
if (!_dateFormatter) {
|
||||
_dateFormatter = [[NSDateFormatter alloc] init];
|
||||
_dateFormatter.dateFormat = @"YYYY-MM-dd";
|
||||
_dateFormatter.dateFormat = @"yyyy-MM-dd";
|
||||
}
|
||||
return _dateFormatter;
|
||||
}
|
||||
|
@@ -256,9 +256,8 @@
|
||||
});
|
||||
} else {
|
||||
[self showSuccessToast:@"更新成功"];
|
||||
[self.presenter getUserInfo];
|
||||
}
|
||||
self.userInfo = userInfo;
|
||||
[self.presenter getUserInfoEditDataSourceWithUserInfo:self.userInfo];
|
||||
}
|
||||
|
||||
- (void)onGetUserInfoSuccess:(UserInfoModel *)userInfo {
|
||||
|
@@ -107,7 +107,7 @@
|
||||
- (NSDateFormatter *)dateFormatter {
|
||||
if (!_dateFormatter) {
|
||||
_dateFormatter = [[NSDateFormatter alloc] init];
|
||||
_dateFormatter.dateFormat = @"YYYY-MM-dd";
|
||||
_dateFormatter.dateFormat = @"yyyy-MM-dd";
|
||||
}
|
||||
return _dateFormatter;
|
||||
}
|
||||
|
Reference in New Issue
Block a user