Skip to content

Commit f24850f

Browse files
authored
Storage: Fix a var that should be a let (#13185)
1 parent 19e1ea5 commit f24850f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FirebaseStorage/Sources/StorageMetadata.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ import Foundation
230230
return 0
231231
}
232232

233-
private static var dateFormatter: DateFormatter = {
233+
private static let dateFormatter: DateFormatter = {
234234
let dateFormatter = DateFormatter()
235235
dateFormatter.locale = Locale(identifier: "en_US_POSIX") // set locale to reliable US_POSIX
236236
dateFormatter.dateFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss.SSSZZZZZ"

0 commit comments

Comments
 (0)