aboutsummaryrefslogtreecommitdiff
path: root/foray/ForayItems.swift
diff options
context:
space:
mode:
authorNicholas Tay <nick@windblume.net>2022-03-22 14:14:02 +1100
committerNicholas Tay <nick@windblume.net>2022-03-22 14:14:20 +1100
commitdac7f928d2a1ed555aeedd97ec9433e266f47cf1 (patch)
treef8fc1f1d257d55e6f29f3e49940c9ffdbe7e6e20 /foray/ForayItems.swift
parentd776ba9c6ec94d6622e1f759c112fd2334b7fb8b (diff)
downloadforayios-dac7f928d2a1ed555aeedd97ec9433e266f47cf1.tar.gz
forayios-dac7f928d2a1ed555aeedd97ec9433e266f47cf1.tar.bz2
forayios-dac7f928d2a1ed555aeedd97ec9433e266f47cf1.zip
Adjust YearSection to just Int
Was a bit awkward to have it as a Date normalised to first day of the year
Diffstat (limited to 'foray/ForayItems.swift')
-rw-r--r--foray/ForayItems.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/foray/ForayItems.swift b/foray/ForayItems.swift
index f1a1089..a8786ee 100644
--- a/foray/ForayItems.swift
+++ b/foray/ForayItems.swift
@@ -13,7 +13,7 @@ enum ItemType: String, Decodable {
}
struct YearSection {
- var year: Date
+ var year: Int
var items: [PenguinItem]
}