Skip to content

Commit 8cade07

Browse files
committed
trying to fix import bug
1 parent 52027ab commit 8cade07

File tree

4 files changed

+3
-64
lines changed

4 files changed

+3
-64
lines changed

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version:5.3
1+
// swift-tools-version:5.2
22
// The swift-tools-version declares the minimum version of Swift required to build this package.
33

44
import PackageDescription

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Include the files in the **./Sources/AgroApi** folder into your project or prefe
113113
Create a Package.swift file for your project and add a dependency to:
114114

115115
dependencies: [
116-
.package(url: "https://github.com/workingDog/AgroApi.git", from: "0.1.2")
116+
.package(url: "https://github.com/workingDog/AgroApi.git", from: "0.1.3")
117117
]
118118

119119
#### Using Xcode

Sources/AgroAPI/AgroExtensions.swift

Lines changed: 0 additions & 61 deletions
This file was deleted.

Sources/AgroAPI/AgroWeather.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public struct Current: Codable {
4545

4646
// convenience function
4747
public func getDate() -> Date {
48-
return self.dt.dateFromUTC()
48+
return Date(timeIntervalSince1970: TimeInterval(self.dt))
4949
}
5050

5151
// convenience function

0 commit comments

Comments
 (0)