Observed behaviour
The code is functional and can be used to verify the new mail adress. However, the email template displays a "stale" expiration time (e.g., 15:01 for an email received at 15:51). This is strictly a display/timezone conversion issue in the email notification, not a functional bug of the code generator.
Expected behaviour
The expiration time should reflect the user's local timezone (e.g., if received at 15:51, it should say "expires at 16:01" for a 10-minute window).
Reproduction steps
- Trigger an email change request.
- Receive the email (e.g., at 15:51 local time).
- Check the expiration time stated in the email body.
Details
Timezone Mismatch in Emails
I noticed a consistency issue with the verification timestamps.- Email received at: 15:51 (Local Time / CET)
- Stated expiration time: 15:01 (Same day)
Environment (optional)
- Windows 11 Pro
- Local Time: Paris/France (CET/UTC+1)

1 comment
Comment by Rex