Skip to content

Commit d42c329

Browse files
committed
Updated date format for showing last authentication time from to
1 parent e911834 commit d42c329

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Samples/Swift/DaysUntilBirthday/Shared/ViewModels/AuthenticationViewModel.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ final class AuthenticationViewModel: ObservableObject {
7474
var formattedAuthTimeString: String? {
7575
guard let date = authTime else { return nil }
7676
let formatter = DateFormatter()
77-
formatter.dateFormat = "dd/MM/yyyy"
77+
formatter.dateFormat = "MM/dd/yyyy"
7878
return formatter.string(from: date)
7979
}
8080
}

0 commit comments

Comments
 (0)