Skip to content

Commit 3828ce0

Browse files
committed
Implement SwiftDate/malcommac#819
1 parent e3f79cb commit 3828ce0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Sources/SwiftDate/Supports/TimeStructures.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ public struct Year: CustomStringConvertible, Equatable {
104104
// MARK: - Month
105105

106106
/// Defines months in a year
107-
public enum Month: Int, CustomStringConvertible, Equatable {
107+
///
108+
public enum Month: Int, CaseIterable, CustomStringConvertible, Equatable {
108109
case january = 0, february, march, april, may, june, july, august, september, october, november, december
109110

110111
public var description: String {

0 commit comments

Comments
 (0)