From b1d223b0b64177f43cc3f6daa788b94baae2de25 Mon Sep 17 00:00:00 2001 From: Malcolm Hall Date: Thu, 2 Feb 2023 19:24:32 +0000 Subject: [PATCH] Update Commons.swift --- Sources/SwiftDate/Supports/Commons.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/SwiftDate/Supports/Commons.swift b/Sources/SwiftDate/Supports/Commons.swift index e3de49c2..0736712c 100644 --- a/Sources/SwiftDate/Supports/Commons.swift +++ b/Sources/SwiftDate/Supports/Commons.swift @@ -243,6 +243,7 @@ public enum RoundDateMode { case toCeil5Mins case toCeil10Mins case toCeil30Mins + /// mins must be >= 1 case toCeilMins(_: Int) case toFloor5Mins case toFloor10Mins