use yy format instead of yyyy for card details

This commit is contained in:
Kirill Braslavsky 2021-05-14 14:27:41 +03:00
parent 0a2a571e3e
commit 74d5337bc9
2 changed files with 2 additions and 2 deletions

View file

@ -87,7 +87,7 @@ class CreditCardRenderer {
},
expirationDate: {
selector: '#ppcp-credit-card-gateway-card-expiry',
placeholder: this.defaultConfig.hosted_fields.labels.mm_yyyy,
placeholder: this.defaultConfig.hosted_fields.labels.mm_yy,
}
}
}).then(hostedFields => {