From ab3a1403c3203ba23e79ee728a46a961ca72e5b8 Mon Sep 17 00:00:00 2001 From: Basil Kotov Date: Thu, 11 Jul 2024 09:51:15 +0100 Subject: [PATCH] Update src/VirtoCommerce.Skyflow.Core/Models/SkyflowCard.cs Co-authored-by: Artem Dudarev --- src/VirtoCommerce.Skyflow.Core/Models/SkyflowCard.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/VirtoCommerce.Skyflow.Core/Models/SkyflowCard.cs b/src/VirtoCommerce.Skyflow.Core/Models/SkyflowCard.cs index b127e85..e0e8456 100644 --- a/src/VirtoCommerce.Skyflow.Core/Models/SkyflowCard.cs +++ b/src/VirtoCommerce.Skyflow.Core/Models/SkyflowCard.cs @@ -73,7 +73,7 @@ private bool CheckIsActive() } var now = System.DateTime.UtcNow; - return year >= now.Year && (year > now.Year || month >= now.Month); + return year > now.Year || (year == now.Year && month >= now.Month); } return true;