From dac7f928d2a1ed555aeedd97ec9433e266f47cf1 Mon Sep 17 00:00:00 2001 From: Nicholas Tay Date: Tue, 22 Mar 2022 14:14:02 +1100 Subject: Adjust YearSection to just Int Was a bit awkward to have it as a Date normalised to first day of the year --- foray/ForayItems.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'foray/ForayItems.swift') 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] } -- cgit