Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-fowler committed Jan 7, 2025
1 parent 5761ec6 commit 8aa45c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Hummingbird/Utils/RFC9110FormatStyle.swift
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ extension Date {
formatter.locale = Locale(identifier: "en_US_POSIX")
formatter.dateFormat = "EEE, dd MMM yyy HH:mm:ss z"
formatter.timeZone = TimeZone(secondsFromGMT: 0)
guard let date = formatter.date(from: httpHeaderDate) else { return nil }
guard let date = formatter.date(from: httpHeaderDate) else { return nil }
self = date
}

Expand Down

0 comments on commit 8aa45c2

Please sign in to comment.