Skip to content

Commit

Permalink
Update src/VirtoCommerce.Skyflow.Core/Models/SkyflowCard.cs
Browse files Browse the repository at this point in the history
Co-authored-by: Artem Dudarev <ad@virtoway.com>
  • Loading branch information
basilkot and artem-dudarev authored Jul 11, 2024
1 parent 557865a commit ab3a140
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/VirtoCommerce.Skyflow.Core/Models/SkyflowCard.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ab3a140

Please sign in to comment.