diff --git a/src/Core/Core.csproj b/src/Core/Core.csproj index a6c2ab7a6a..762d68cee3 100644 --- a/src/Core/Core.csproj +++ b/src/Core/Core.csproj @@ -55,7 +55,7 @@ - + diff --git a/src/Core/Models/Business/BillingInfo.cs b/src/Core/Models/Business/BillingInfo.cs index 48f74a3c87..5a51c1a11c 100644 --- a/src/Core/Models/Business/BillingInfo.cs +++ b/src/Core/Models/Business/BillingInfo.cs @@ -24,7 +24,7 @@ namespace Bit.Core.Models.Business Type = PaymentMethodType.Card; Description = $"{source.Card.Brand}, *{source.Card.Last4}, " + string.Format("{0}/{1}", - string.Concat(source.Card.ExpirationMonth.Length == 1 ? + string.Concat(source.Card.ExpirationMonth < 10 ? "0" : string.Empty, source.Card.ExpirationMonth), source.Card.ExpirationYear); CardBrand = source.Card.Brand;