Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Tikhonenko committed Apr 2, 2021
1 parent 0e90ee3 commit eb307bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/Date+Extension.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ public extension String
{
func rfc3339date() -> Date?
{
let date = rfc3339DateFormater.date(from: self)
let date = rfc3339DateFormatter.date(from: self)
return date
}
}

fileprivate var rfc3339DateFormater: ISO8601DateFormatter = {
fileprivate var rfc3339DateFormatter: ISO8601DateFormatter = {
let formatter = ISO8601DateFormatter()
formatter.formatOptions = .withInternetDateTime
formatter.timeZone = TimeZone(abbreviation: "UTC")
Expand Down

0 comments on commit eb307bc

Please sign in to comment.