Skip to content

Commit

Permalink
Merge pull request #85 from pokepay/version/2.0.17
Browse files Browse the repository at this point in the history
Update version to 2.0.17
  • Loading branch information
DanRidh authored Oct 17, 2024
2 parents e3fc256 + c98dd8e commit 6de791b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Pokepay.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "Pokepay"
s.version = "2.0.16"
s.version = "2.0.17"
s.summary = "Pokepay iOS SDK."
s.description = <<-DESC
iOS SDK for Pokepay written in Swift.
Expand Down
2 changes: 1 addition & 1 deletion Pokepay.xcodeproj/Pokepay_Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.0.16</string>
<string>2.0.17</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
7 changes: 4 additions & 3 deletions Sources/Pokepay/BankAPI/BankAPIJSONDecoder.swift
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
import Foundation

public class BankAPIJSONDecoder : JSONDecoder {
public let dateFormatter = DateFormatter()
public class BankAPIJSONDecoder: JSONDecoder, @unchecked Sendable {
public let dateFormatter = DateFormatter()

override public init() {
super.init()
dateFormatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSSSSS'Z'"
dateFormatter.timeZone = TimeZone(secondsFromGMT: 0)
dateFormatter.locale = Locale(identifier: "en_US_POSIX")
dateDecodingStrategy = .formatted(dateFormatter)
}
}
}

0 comments on commit 6de791b

Please sign in to comment.