Skip to content

Commit 07e9df0

Browse files
committed
Fix time format in error string
1 parent 3ae3064 commit 07e9df0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MapboxGeocoder/MBGeocoder.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ open class Geocoder: NSObject {
301301
failureReason = "More than \(formattedCount) requests have been made with this access token within a period of \(formattedInterval)."
302302
}
303303
if let rolloverTime = response.rateLimitResetTime {
304-
let formattedDate = DateFormatter.localizedString(from: rolloverTime, dateStyle: .long, timeStyle: .full)
304+
let formattedDate = DateFormatter.localizedString(from: rolloverTime, dateStyle: .long, timeStyle: .long)
305305
recoverySuggestion = "Wait until \(formattedDate) before retrying."
306306
}
307307
default:

0 commit comments

Comments
 (0)