diff --git a/packages/auth/ios/RNFBAuth/RNFBAuthModule.m b/packages/auth/ios/RNFBAuth/RNFBAuthModule.m index 76862bc069..623ad1d393 100644 --- a/packages/auth/ios/RNFBAuth/RNFBAuthModule.m +++ b/packages/auth/ios/RNFBAuth/RNFBAuthModule.m @@ -1686,13 +1686,13 @@ - (NSDictionary *)firebaseUserToDict:(FIRUser *)user { NSMutableArray *enrolledFactors = [NSMutableArray array]; for (FIRPhoneMultiFactorInfo *hint in hints) { - NSString *enrollmentDate = + NSString *enrollmentTime = [[[NSISO8601DateFormatter alloc] init] stringFromDate:hint.enrollmentDate]; [enrolledFactors addObject:@{ @"uid" : hint.UID, @"factorId" : [self getJSFactorId:(hint.factorID)], @"displayName" : hint.displayName == nil ? [NSNull null] : hint.displayName, - @"enrollmentDate" : enrollmentDate, + @"enrollmentTime" : enrollmentTime, }]; } return enrolledFactors;