Answers.Body: <p>The answer is ... check your date formats carefully because maybe you made a mistake entering them and never noticed. Pretty obvious!</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-01-30T18:11:13.843Z
Answers.LastActivityDate: 2023-01-30T18:11:13.843Z
Answers.UserDisplayName: Lars SG
Body: <p>It seems the expiration date for credit cards is being displayed incorrectly as 00 YYYY (as in, it always shows 00 no matter what the actual input is) on event and contribution confirmation screens, thank you screens and in email receipts.</p>
  <p>I can't replicate this on dmaster or locally. No errors logged and nothing in the console. Doesn't matter which payment processor is in use. Payments are still processed as usual. Anyone have any ideas what might be causing this?</p>
  <p><a href="https://i.sstatic.net/jdxLc.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/jdxLc.png" alt="enter image description here" /></a></p>
  <p>5.56.2 on D7.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-01-27T23:05:48.943Z
Comments.Text: There was something similar but not really the same: https://lab.civicrm.org/dev/core/-/issues/4012. But what timezone?
Comments.UserDisplayName: Demerit
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-01-28T00:36:59.517Z
Comments.Text: Doesn't seem related to timezone (tried the same locally with the same timezone and not getting this issue). America/Edmonton (only the Yukon got rid of DST, the rest of us just said we were going to and then didn't).
Comments.UserDisplayName: Lars SG
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-01-28T01:22:14.653Z
Comments.Text: Hehe don't get me started on DST...
Comments.UserDisplayName: Demerit
Tags: <payment-processor><receipts><confirmation>
Title: Credit card expiration month is shown as 00 on confirmation screens and receipts
ThreadText: # Credit card expiration month is shown as 00 on confirmation screens and receipts
  
  (Asked by: username_0 on 2023-01-27)
  
  It seems the expiration date for credit cards is being displayed incorrectly as 00 YYYY (as in, it always shows 00 no matter what the actual input is) on event and contribution confirmation screens, thank you screens and in email receipts.
  
  I can't replicate this on dmaster or locally. No errors logged and nothing in the console. Doesn't matter which payment processor is in use. Payments are still processed as usual. Anyone have any ideas what might be causing this?
  
  [![enter image description here](https://i.sstatic.net/jdxLc.png)](https://i.sstatic.net/jdxLc.png)
  
  5.56.2 on D7.
  
  **Tags:** payment-processor, receipts, confirmation
  
  > **Comments:**
  > **username_1**: There was something similar but not really the same: https://lab.civicrm.org/dev/core/-/issues/4012. But what timezone?  
  > **username_0**: Doesn't seem related to timezone (tried the same locally with the same timezone and not getting this issue). America/Edmonton (only the Yukon got rid of DST, the rest of us just said we were going to and then didn't).  
  > **username_1**: Hehe don't get me started on DST...  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2023-01-30. Score: 2
  
  The answer is ... check your date formats carefully because maybe you made a mistake entering them and never noticed. Pretty obvious!
  
  
  ---
  
  